开云体育

Locked Re: Turnouts (not) updating on Panel


 

Hi Tim,

Thanks for the panel, have been able to re-produce locally.

The issue is with Direct ( and delayed ) Turnout Feedback not working.
You can see this in the turnout table by ticking show feedback information, also ticking query state actions to simulate the CAB event message.
? ? When set from turnout table or LE, feedback status is correct
? ? When turnout is set from CanMessage heard by CbusTurnout, the main turnout value changes, however the feedback value does not change.
? ? Layout Editor uses the feedback value to display the turnout state

While I go through the code and see what's up, there is a cheeky work-around which I wouldn't normally recommend.
? ? Create a sensor with exactly the same address as the turnout.
? ? Make the turnout feedback "1 sensor" and assign the Sensor1 slot the newly created sensor with the same address.
? ? It's a cludge work-around and won't do your system any good long-term, but may get you out of a pickle if you've got an urgent need!

I'll write-up on Github and do a bit if digging,

Steve.

Join [email protected] to automatically receive all group messages.