Max Prokhorov
Max Prokhorov
See #2265 I do see settings for each magnitude via DummySensor. Errors seem to be working, settings are saved.
Huh. Sending: ``` $ mosquitto_pub -t 'domoticz/in' -m '{"idx": 3,"nvalue": 0,"svalue": "1020.1"}' $ mosquitto_pub -t 'domoticz/in' -m '{"idx": 3,"nvalue": 0,"svalue": "1020.1;3"}' ``` First message shows blank barometer, second one correctly...
Nope. What is forecast value exactly from the Domoticz POV and why it wants us to set it? Do we need to calculate some values on the device itself or...
(re https://github.com/xoseperez/espurna/issues/2208#ref-issue-585359121) I have found piece of code that domoticz uses: https://github.com/domoticz/domoticz/blob/6027b1d9e3b6588a901de42d82f3a6baf1374cd1/hardware/I2C.cpp#L1092-L1193 http://www.freescale.com/files/sensors/doc/app_note/AN3914.pdf Which is not a simple value range match like humidity
Maybe. It does not match `(x > 995) && (x < 1029)`? We can also just send invalid number like -1 or 5 to set barometer sensor to the Unknown...
After https://github.com/xoseperez/espurna/pull/2215 it adds `;-1` to the pressure reading string before sending it to domoticz. I will add forecast stuff eventually, I'd like to keep the original intent and actually...
Depends. My main question is, why it is needed at all? If client is connected to broker, it already received latest status at some point. Would it not be easier...
Yes, but is there a need to wait for the heartbeat if [retained messages](https://www.hivemq.com/blog/mqtt-essentials-part-8-retained-messages/) are configured? Relay status by default is retained, so you would receive relay status message at...
Yes, forgot to update this, there is an added `heartbeat` action similar to `reboot`, simply parsing text of the action to either MQTT or HTTP /action/set. I could add arguments...
If this works for you, sure. I have only minor questions: - have you tried our internal pwm implementation? see lights dimmer setup, libs/pwm.h & pwm.c for the API. -...