Missing IDX on Output - Domoticz MQTT Helper

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
rct9
New user
Posts: 4
Joined: 08 May 2017, 03:56

Missing IDX on Output - Domoticz MQTT Helper

#1 Post by rct9 » 08 May 2017, 04:13

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,
Attachments
espeasy_001.jpg
espeasy_001.jpg (46.49 KiB) Viewed 6457 times

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Missing IDX on Output - Domoticz MQTT Helper

#2 Post by grovkillen » 08 May 2017, 06:01

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 :idea: :idea: :idea:

rct9
New user
Posts: 4
Joined: 08 May 2017, 03:56

Re: Missing IDX on Output - Domoticz MQTT Helper

#3 Post by rct9 » 08 May 2017, 15:25

The controller I have enabled and working is "Domoticz MQTT".

rct9
New user
Posts: 4
Joined: 08 May 2017, 03:56

Re: Missing IDX on Output - Domoticz MQTT Helper

#4 Post by rct9 » 08 May 2017, 15:40

Ignore please.

I must have screwed up something, after I re-flashed the image it appears to be working.

Thanks,

rct9
New user
Posts: 4
Joined: 08 May 2017, 03:56

Re: Missing IDX on Output - Domoticz MQTT Helper

#5 Post by rct9 » 09 May 2017, 01:52

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!

daxkamala
Normal user
Posts: 15
Joined: 17 Aug 2016, 09:12

Re: Missing IDX on Output - Domoticz MQTT Helper

#6 Post by daxkamala » 12 Jun 2017, 12:36

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. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests