Search found 10 matches

by Empha88
Monday 12 February 2024 13:53
Forum: Utility
Topic: HomeWizard P1 Wifi into Domoticz
Replies: 28
Views: 12137

Re: HomeWizard P1 Wifi into Domoticz

Did my own lua script and renamed the values i wanted. Seems like i have other values than the script you guys have. ------ BEGIN ------ -- Read API values s = request['content']; -- -- Energimeter -- -- return value local a = domoticz_applyJsonPath(s,'.total_power_import_t1_kwh') -- active current ...
by Empha88
Sunday 04 February 2024 16:58
Forum: Utility
Topic: HomeWizard P1 Wifi into Domoticz
Replies: 28
Views: 12137

Re: HomeWizard P1 Wifi into Domoticz

After 2 weeks I' am getting this error?' Error: P1 HomeWizard: Failed to read response data Set DEBUG ON --------------- 2023-01-06 14:42:00.041 P1 HomeWizard: Pushing 'onHeartbeatCallback' on to queue 2023-01-06 14:42:00.091 P1 HomeWizard: Processing 'onHeartbeatCallback' message 2023-01-06 14:42 ...
by Empha88
Thursday 02 May 2019 15:55
Forum: Temperature and Weather
Topic: Makerlife Weatherstation through MQTT
Replies: 12
Views: 2673

Re: Makerlife Weatherstation through MQTT

Hi, Reading this thread I don't think this way it is going to work. However it is quite easy. In general it is a bad idea to publish messages from external equipment directly into domoticz/in, because the syntax used by the external equipment will not match the syntax expected by Domoticz. I assume ...
by Empha88
Tuesday 30 April 2019 17:31
Forum: Temperature and Weather
Topic: Makerlife Weatherstation through MQTT
Replies: 12
Views: 2673

Re: Makerlife Weatherstation through MQTT

"2019-04-30 17:29:45.464 MQTT: Topic: domoticz/in, Message: {"idx": 11, "svalue": "WB;WD;WS;WG;22;24", "command": "udevice", "nvalue": 0}" So this is were im stuck right now, were do i put in the data i get from my windsensor? tried putting the speed_avg everywhere wich is my data for the windsensor ...
by Empha88
Tuesday 30 April 2019 16:20
Forum: Temperature and Weather
Topic: Makerlife Weatherstation through MQTT
Replies: 12
Views: 2673

Re: Makerlife Weatherstation through MQTT

"while True: sleep (interval) speed.append(wind(interval)) i += 1 if i == 15: temper = temperature() speed_avg = sum(speed,0.00)/len(speed) payload=json.dumps({"rain":rain_cum, "temperature":temper, "windspeed":speed_avg, "idx":11}) mqtt_c.publish('domoticz/in',payload) # print('Publish data ...
by Empha88
Tuesday 30 April 2019 16:18
Forum: Temperature and Weather
Topic: Makerlife Weatherstation through MQTT
Replies: 12
Views: 2673

Re: Makerlife Weatherstation through MQTT

"2019-04-30 15:43:07.776 MQTT: Topic: domoticz/in, Message: {"temperature": 28.75, "rain": 0.2794, "windspeed": 0.6628257844249887} 2019-04-30 15:43:07.777 Error: MQTT: unknown idx received! (idx 0)" I think you are missing the "idx":<idx> in your JSON string. Domoticz does not know now which ...
by Empha88
Tuesday 30 April 2019 15:56
Forum: Temperature and Weather
Topic: Makerlife Weatherstation through MQTT
Replies: 12
Views: 2673

Re: Makerlife Weatherstation through MQTT

"2019-04-30 15:43:07.776 MQTT: Topic: domoticz/in, Message: {"temperature": 28.75, "rain": 0.2794, "windspeed": 0.6628257844249887} 2019-04-30 15:43:07.777 Error: MQTT: unknown idx received! (idx 0)" This is what my log says right now, i change the "mqtt_c.publish('outside/weather/',payload)" to ...
by Empha88
Monday 29 April 2019 10:09
Forum: Temperature and Weather
Topic: Makerlife Weatherstation through MQTT
Replies: 12
Views: 2673

Re: Makerlife Weatherstation through MQTT

You have to publish your messages to topic 'domoticz/in' and the idx in the JSON determines which dummy device will be updated. I'm not 100% sure if you can update every dummy device using MQTT. Have a look at: https://www.domoticz.com/wiki/MQTT How exactly do i do that? Could you describe for a ...
by Empha88
Monday 29 April 2019 9:15
Forum: Temperature and Weather
Topic: Makerlife Weatherstation through MQTT
Replies: 12
Views: 2673

Re: Makerlife Weatherstation through MQTT

You have to publish your messages to topic 'domoticz/in' and the idx in the JSON determines which dummy device will be updated. I'm not 100% sure if you can update every dummy device using MQTT. Have a look at: https://www.domoticz.com/wiki/MQTT How exactly do i do that? Could you describe for a ...
by Empha88
Sunday 28 April 2019 21:38
Forum: Temperature and Weather
Topic: Makerlife Weatherstation through MQTT
Replies: 12
Views: 2673

Makerlife Weatherstation through MQTT

Hi! Im trying to get my Makerlife Weatherstation to work with Domoticz. I have tried this script: https://github.com/kobbas/mqttweather and a MQTT broker that is connected with Domoticz. Then i added Dummy Hardware in Domoticz But thats as far as i can get, how do i get the information from MQTT to ...