Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Shelly GAS Addon Manipulator / Valve support #53

Open
pizzulicchio opened this issue May 5, 2024 · 2 comments
Open

Add Shelly GAS Addon Manipulator / Valve support #53

pizzulicchio opened this issue May 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@pizzulicchio
Copy link

Good day!
I have got a shelly gas sensor with the shelly valve. The valve and its status (Open/Close) is not detected from your plugin.
Can you support this implementation ?

have a nice day

@enesbcs
Copy link
Owner

enesbcs commented May 5, 2024

Yes, it can be done. According the shelly docs this is the valve mqtt path:
shellies/shellygas-<deviceid>/valve/0/state

and this is the possible values, so it can be a selector type, not a binary:

unknown = Valve state is unknown
closed = Valve is closed
opened = Valve is opened
not_connected = Valve is not connected
failure = Valve failure detected
closing = Valve is in the process of closing
opening = Valve is in the process of opening
checking = Valve state is being checked

@enesbcs enesbcs added the enhancement New feature or request label May 5, 2024
@pizzulicchio
Copy link
Author

I can confirm all.
"closed" , "opened", and "not connected" are the more important states.
"closing" and "opening" are active during the changing position.
if you need some logs from my mosquitto mqtt server or something else, let me know.

I'd like to use this integration for create an event, in domoticz, that close the gas valve when you left home, and reopen when you came back.
;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants