I got the latest built running with the following setup:
DEVICES:
8 x PCF8574 switch input (120 s interval)
2 x ADS1115 ADC (120 s interval)
1 x SYSTEM IUnfo UPTIME (120 s interval)
CONTROLLER:
2 x FHEM HTTP
The problem is, that not all devices are sent to the controllers.
The last 3 in the list are not sent.
I suspect it has to do with queues and timeouts while sending to the controllers because when i disable one controller, it works perfectly.
Can anybody give me a hint how to solve the problem and what settings i should use in queues etc.?
Thanks
[solved] Some devices ignored when using 2 controllers - queue issues?
Moderators: grovkillen, Stuntteam, TD-er
[solved] Some devices ignored when using 2 controllers - queue issues?
Last edited by chunter1 on 24 Oct 2018, 14:45, edited 1 time in total.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Some devices ignored when using 2 controllers - queue issues?
What settings are you using right now?
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: Some devices ignored when using 2 controllers - queue issues?
I was using the default settings.
Another modul with 12 DS18B20 sensors shows the same behaviour.
Meanwhile i played around and found the following settings to work:
Minimum Send Interval: 100 ms
Max Queue Depth: 25
Max Retries: 10
Full Queue Action: Delete oldest
Check Reply: Ignore Ack
Client Timeout: 1000 ms
However i am not sure if these are recommended.
Another modul with 12 DS18B20 sensors shows the same behaviour.
Meanwhile i played around and found the following settings to work:
Minimum Send Interval: 100 ms
Max Queue Depth: 25
Max Retries: 10
Full Queue Action: Delete oldest
Check Reply: Ignore Ack
Client Timeout: 1000 ms
However i am not sure if these are recommended.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Some devices ignored when using 2 controllers - queue issues?
Bump the send interval to 1000mSec and try. If that works you could optimize by lowering it by 100mSec until you find the "perfect" level.
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: Some devices ignored when using 2 controllers - queue issues?
I think this was your fix:
Max Queue Depth: 25
The queue is the number of samples to keep waiting to be sent.
When a lot of values are sent in a burst, you may want to increase this queue depth to fit all.
Max Queue Depth: 25
The queue is the number of samples to keep waiting to be sent.
When a lot of values are sent in a burst, you may want to increase this queue depth to fit all.
Re: Some devices ignored when using 2 controllers - queue issues?
Thank you both, problem is solved
Who is online
Users browsing this forum: Google [Bot] and 115 guests