Search found 7 matches

by Reconos
Tuesday 13 February 2018 6:54
Forum: Python
Topic: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery
Replies: 57
Views: 21041

Re: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery



My Domoticz is using my 3.6.4 Python installation:
2018-02-04 15:17:10.318 Domoticz V3.8875 (c)2012-2018 GizMoCuz



I have some time to look at this now, and I prepared a debug build which should hopefully helps narrow down why the onConnect callback does not work.
Is PM working for you now ...
by Reconos
Sunday 04 February 2018 15:21
Forum: Python
Topic: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery
Replies: 57
Views: 21041

Re: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery


dnpwwo, I've tested with Python 3.6.4 on Windows, and I don't see the errors Reconos sees. How to debug?
Would it make sense to make a special build with debug prints in CPlugin::Callback to dump the pParams struct?

Reconos, maybe you can double check that Domoticz is actually using your Python ...
by Reconos
Friday 02 February 2018 19:57
Forum: Python
Topic: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery
Replies: 57
Views: 21041

Re: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery

Per the workaround, i set everything to English, but it doesn't seem to fix it for me :( ill try to fiddle around with it a bit and then ill try to update you if anything changes :)
by Reconos
Wednesday 31 January 2018 17:38
Forum: Python
Topic: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery
Replies: 57
Views: 21041

Re: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery

Sorry Emontnemery.

Im a long time lurker, and only registered today, so can't PM :(
by Reconos
Wednesday 31 January 2018 17:25
Forum: Python
Topic: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery
Replies: 57
Views: 21041

Re: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery

I have attached my settings, almost standard.

I know the "activated" checkmark is removed on the screenshot, but that's only to stop it from spamming my log file :)
by Reconos
Wednesday 31 January 2018 14:30
Forum: Python
Topic: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery
Replies: 57
Views: 21041

Re: Python plugin: Sonoff-Tasmota + Other devices supporting MQTT Discovery

Hi Emontnemery.

I hope this is the right place to get some help :)
Setup: Windows 2012r2
Pythons 3.6.4
Domoticz: 3.8871

upon trying to activate the plugin, my log is filled with the following (Hidden in spoler text to prevent massive wall of text):

2018-01-31 14:20:42.003 Error: (MQTT Discovery ...