MQTT Report of door sensor state

I’d like the door sensor state to be reported in the MQTT status stream to help control my add-on chamber lighting.

As-is, my lighting changes color based on status, running/good/bad - I’d like to be able to make the lighting revert to white when the door is open so having that signal available would be very helpful.

Door sensor state is in HomeFlag in MQTT message. It is 32bit number.

Thank you - that’s exactly the lead I needed.

The home_flag value remains unchanged no matter if the door is open or closed in my case.

In my case during the test: 6409480

Should i report it as a bug?

Do you have an X series printer?

There is no sensor on my P series printers. At least not one I can see.

I regret i did not mention it but it is indeed the x1c.

1 Like