P029 MQTT helper works when disabled

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
wim16
Normal user
Posts: 88
Joined: 01 May 2017, 20:35

P029 MQTT helper works when disabled

#1 Post by wim16 » 16 Jan 2018, 21:35

Today I was surprised to discover that a P029 device switches it's gpio even when not enabled.
I checked the C002 plugin (which contains the P029 functionality) and it does not observe the enabled flag.
Is this a bug or as designed? If it is by design I think the enabled flag would best be removed from the settings webpage.

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: P029 MQTT helper works when disabled

#2 Post by vader » 16 Jan 2018, 21:44

Don't worry, it's just one of the many bugs.... :lol: Can you compile your own version? Then I can give you the solution....

wim16
Normal user
Posts: 88
Joined: 01 May 2017, 20:35

Re: P029 MQTT helper works when disabled

#3 Post by wim16 » 16 Jan 2018, 22:11

Not yet, but I am going to try so I can learn more about espeasy.
It is not a bug that bothers me very much but my first idea would be to add it to C002.ino, is that the correct place?

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: P029 MQTT helper works when disabled

#4 Post by vader » 16 Jan 2018, 22:23

Removing it from the settings webpage is no good idea. The solution is in fact in _C002. The first riddle you solved! ;)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: P029 MQTT helper works when disabled

#5 Post by TD-er » 17 Jan 2018, 00:12

vader wrote: 16 Jan 2018, 22:23 Removing it from the settings webpage is no good idea. The solution is in fact in _C002. The first riddle you solved! ;)
Perhaps something worth a new issue on the githubs?

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: P029 MQTT helper works when disabled

#6 Post by vader » 17 Jan 2018, 09:01

I have no account on github. Maybe there is already an issue opened there.... :?:

wim16
Normal user
Posts: 88
Joined: 01 May 2017, 20:35

Re: P029 MQTT helper works when disabled

#7 Post by wim16 » 17 Jan 2018, 10:48

I've just added an issue. Thanks for your help.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 23 guests