Search found 4 matches

by hansake
Saturday 06 July 2019 17:03
Forum: LUA
Topic: reading data from json and update virtual sensor http poller
Replies: 2
Views: 3017

Re: reading data from json and update virtual sensor http poller

To get weather data from WeeWX to Domoticz I instead created a DzVents event script.
See: https://github.com/hansake/WeeWX_to_Domoticz

Regards
Hans-Åke
by hansake
Thursday 04 July 2019 14:28
Forum: LUA
Topic: LUA script example for http poller
Replies: 3
Views: 4366

Re: LUA script example for http poller

The applyJsonPath function does not work for me.
See: https://www.domoticz.com/forum/viewtopi ... 91#p218691

Regards
Hans-Åke
by hansake
Thursday 04 July 2019 14:11
Forum: LUA
Topic: reading data from json and update virtual sensor http poller
Replies: 2
Views: 3017

Re: reading data from json and update virtual sensor http poller

I have the same problem with the function applyJsonPath when trying to get weather data from WeeWX using the script: https://www.domoticz.com/forum/viewtopic.php?t=23791 The log shows: ... 2019-07-04 12:47:39.816 Error: CLuaHandler (applyJsonPath from LUA) : Invalid Json data received 2019-07-04 12 ...
by hansake
Sunday 16 June 2019 19:28
Forum: Suggestions
Topic: mqtt or json
Replies: 7
Views: 2019

Re: mqtt or json

It would indeed be very nice if I can use the device name instead of the device IDX when sending measurements from a sensor using MQTT. I have a NodeMCU/ESP8266 based sensor node with a 1-Wire interface. This sensor node is sending temperature measurements to Domoticz using MQTT. The device IDX has ...