Sending data to more than one controller

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
grasvezel
New user
Posts: 3
Joined: 14 Nov 2018, 09:40

Sending data to more than one controller

#1 Post by grasvezel » 14 Nov 2018, 09:45

Hi all,

I was experimenting with the p2p functionality. I have multiple ESP's, and decided to try and get an extra ESP to display some measurements on an OLED display. The ESP's I had already running all post their data to Domoticz. I added the P2P network as an extra controller and ticked the box on two sensors. Nothing happened, until I decided to try and disable the upload to Domoticz for one sensor. It seems ESP Easy does not support posting sensor data to more than one controller. Is that expected behaviour? If so, shouldn't there be a drop down or radio buttons in the web interface rather than checkboxes that allow multiple controllers to be selected at the same time? If not, this might be a bug.

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

Re: Sending data to more than one controller

#2 Post by grovkillen » 14 Nov 2018, 09:50

It must be a bug. All three controllers should work in tandem. Please open an issue on GitHub. Remember to add add much information as possible.
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:

grasvezel
New user
Posts: 3
Joined: 14 Nov 2018, 09:40

Re: Sending data to more than one controller

#3 Post by grasvezel » 14 Nov 2018, 11:48

I will, thanks.

grasvezel
New user
Posts: 3
Joined: 14 Nov 2018, 09:40

Re: Sending data to more than one controller

#4 Post by grasvezel » 14 Nov 2018, 12:18

I've been fiddling around a bit to get more info. It turns out that *UPDATING* variables on the receiving ESP actually kept working after enabling multiple controllers for this task. The creation of the task on the receiving ESP is done only at the moment the task is submitted on the sending ESP. When I first created that task, the receiving ESP already had a task with that number. I deleted that, re-created it with a higher number and waited. Nothing happened. Only after I disabled sending data to the first controller (on the sending ESP), the task on the receiving ESP was created. It turns out I didn't have to disable it, just re-submitting it would have been enough.

Sorry about that. This is probably expected behaviour, right?

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

Re: Sending data to more than one controller

#5 Post by grovkillen » 14 Nov 2018, 14:19

Ok, thanks for the feedback.
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:

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 51 guests