Search found 11 matches
- 11 Apr 2018 19:04
- Forum: Z-Uno
- Topic: Sleeping Mode
- Replies: 4
- Views: 3892
Re: Sleeping Mode
#define DOORPIN 2 byte doorValue; ZUNO_SETUP_SLEEPING_MODE(ZUNO_SLEEPING_MODE_SLEEPING); ZUNO_SETUP_CHANNELS(ZUNO_SENSOR_BINARY_DOOR_WINDOW(getterDoor)); void setup() { pinMode(DOORPIN, INPUT_PULLUP);} void loop() { byte currentDoorValue; currentDoorValue = digitalRead(DOORPIN); if (currentDoorValu...
- 09 Apr 2018 22:46
- Forum: Z-Uno
- Topic: Sleeping Mode
- Replies: 4
- Views: 3892
Re: Sleeping Mode
Mine is not waking up, not on the smoke sensor, or even a door sensor which is just connecting a pin to ground. Is this a known issue at all, or am I just doing something wrong?
- 05 Apr 2018 17:05
- Forum: Z-Uno
- Topic: Sleeping Mode
- Replies: 4
- Views: 3892
Sleeping Mode
I'm confused on how sleeping mode works, more specifically waking the device. If I have a MQ2 smoke sensor and a DHT11 temperature sensor, what is the best way to send that info. Right now I have the device on ZUNO_SLEEPING_MODE_SLEEPING, I send the device to sleep at the end of the loop. However wh...
- 21 Mar 2018 17:30
- Forum: Z-Uno
- Topic: 2.1.3 channels error
- Replies: 5
- Views: 4185
Re: 2.1.3 channels error
Okay, thanks for the help. Just didn't know if something was known, since it was working on 2.1.2 and not on 2.1.3.
- 20 Mar 2018 15:47
- Forum: Z-Uno
- Topic: 2.1.3 channels error
- Replies: 5
- Views: 4185
Re: 2.1.3 channels error
I do have the proper sendReports. if (currentHumidity != humidity) { zunoSendReport(2); } if (currentTemp != temperature){ zunoSendReport(1); } //Door Sensor currentDoorValue = digitalRead(DOORPIN); if (currentDoorValue != doorValue) { doorValue = currentDoorValue; Serial.print("Door: "); ...
- 19 Mar 2018 18:47
- Forum: Z-Uno
- Topic: 2.1.3 channels error
- Replies: 5
- Views: 4185
2.1.3 channels error
Hello, I am getting an error with the latest build, where not all my channels are being transmitted. I am only receiving input from my binary door sensor channel, and not my other 3 multilevel and 1 binary sensors. I was wondering if anyone else is having these types of issues? ZUNO_SETUP_CHANNELS( ...
- 28 Feb 2018 18:25
- Forum: Z-Uno
- Topic: Sleeping Examples
- Replies: 1
- Views: 2124
Sleeping Examples
I was wondering if anyone has any examples on how to use the sleep function. I'm having trouble getting mine to work properly for a door sensor and temperature sensor. The device is not waking up when the door sensor changes and also update the temperature sensor every so often. If anyone has any ex...
- 27 Feb 2018 23:20
- Forum: Z-Uno
- Topic: Light switch and Sensors
- Replies: 4
- Views: 4520
Re: Light switch and Sensors
I did this, and I got it partially to work. The switch now shows up in HA but it seems like it isn't transmitting the data, and it also seems to kill the other channels. Z-Uno should be able to do both though correct? It should be able to be a switch and sensor all as one, do they have to be on spec...
- 26 Feb 2018 19:23
- Forum: Z-Uno
- Topic: Light switch and Sensors
- Replies: 4
- Views: 4520
Light switch and Sensors
Hello all, I am trying to set up my z-uno to be a light switch and have different sensors like a door and temp sensor. I am stuck however, I have the channels setup ZUNO_SETUP_CHANNELS( ZUNO_SENSOR_MULTILEVEL_TEMPERATURE(getterTemperature), ZUNO_SENSOR_MULTILEVEL_HUMIDITY(getterHumidity), ZUNO_SENSO...
- 21 Feb 2018 19:32
- Forum: Z-Uno
- Topic: [solved] Wake-up time not working more?
- Replies: 3
- Views: 3599
Re: [solved] Wake-up time not working more?
Do you by chance have any kind of examples? I am working on setting my z-uno up as a temperature sensor and a door sensor and I am getting stuck on the sleeping , it doesn't want to wake up when the door sensor changes. I have been changing the sleeping modes with no luck. Any help would be great. T...