I seemed to be missing the "IDX" field in my setup. I have seen other screenshots with the IDX field. Am I doing something wrong?
Thanks,
Missing IDX on Output - Domoticz MQTT Helper
Moderators: grovkillen, Stuntteam, TD-er
Missing IDX on Output - Domoticz MQTT Helper
- Attachments
-
- espeasy_001.jpg (46.49 KiB) Viewed 6456 times
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Missing IDX on Output - Domoticz MQTT Helper
What controller do you have activated?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: Missing IDX on Output - Domoticz MQTT Helper
The controller I have enabled and working is "Domoticz MQTT".
Re: Missing IDX on Output - Domoticz MQTT Helper
Ignore please.
I must have screwed up something, after I re-flashed the image it appears to be working.
Thanks,
I must have screwed up something, after I re-flashed the image it appears to be working.
Thanks,
Re: Missing IDX on Output - Domoticz MQTT Helper
In case anyone runs into this issue:
I had a bit more time to look into this...
I was using the latest source on mega. The issue appears to stem from the changes made here https://github.com/letscontrolit/ESPEas ... 7fec799e52 which requires Device[deviceCount].SendDataOption to be true to show the IDX field.
I recompiled with that option to true on P029 and now the field appears and all is good.
Also, noticed the following issue. I was attempting to run this from Domoticz MQTT and it was not receiving MQTT messages. I think the messages Domoticz publishes on domoticz/out is greater than 256 bytes, so it was being rejected. I ended up having to change the limit to 512 (in controller.ino & pubsubclient.h) and it appears to be working, not sure how this will impact performance etc..
Thanks!
I had a bit more time to look into this...
I was using the latest source on mega. The issue appears to stem from the changes made here https://github.com/letscontrolit/ESPEas ... 7fec799e52 which requires Device[deviceCount].SendDataOption to be true to show the IDX field.
I recompiled with that option to true on P029 and now the field appears and all is good.
Also, noticed the following issue. I was attempting to run this from Domoticz MQTT and it was not receiving MQTT messages. I think the messages Domoticz publishes on domoticz/out is greater than 256 bytes, so it was being rejected. I ended up having to change the limit to 512 (in controller.ino & pubsubclient.h) and it appears to be working, not sure how this will impact performance etc..
Thanks!
Re: Missing IDX on Output - Domoticz MQTT Helper
I had assumed that because the output doesn't return a message, the senddata flag wasn't required.
For me to be happy that an output has been activated (message not lost or whatever) I usually configure a button input on the same gpio to send status back.
*** Please, Please ***
It would really help if outputs could be controlled with the same topic structure as the sensors.
i.e. /Powersystem/Relay/Output instead of or as well as /Powersystem/gpio/12
I have had a good dig around in the code but I'm not up to decoding the relevant bits. I'm using OpenHAB MQTT but can only find the gpo being controlled in _C002 fr Domooticz.
Any help would be really appreciated.
For me to be happy that an output has been activated (message not lost or whatever) I usually configure a button input on the same gpio to send status back.
*** Please, Please ***
It would really help if outputs could be controlled with the same topic structure as the sensors.
i.e. /Powersystem/Relay/Output instead of or as well as /Powersystem/gpio/12
I have had a good dig around in the code but I'm not up to decoding the relevant bits. I'm using OpenHAB MQTT but can only find the gpo being controlled in _C002 fr Domooticz.
Any help would be really appreciated.

Who is online
Users browsing this forum: Ahrefs [Bot] and 20 guests