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

dcz: add workaround for pressure and digital sensors #2215

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented Apr 7, 2020

See #2208 and #2192

  • Domoticz only accepts svalue <pressure>;<forecast>, failing to display anything otherwise.
    We don't have any forecast calculation (yet?), simply send dummy value.
  • Domoticz integration has a weird quirk only sending sensor data as svalue. Add workaround for Digital sensors to also send nvalue, so that we can also use it for switches.
  • Move Domoticz specific code outside of sensor.ino
  • Small refactoring of broker module consts

- Domoticz only accepts svalue <pressure>;<forecast>,
  failing to display anything otherwise.
  We don't have any forecast calculation (yet?), simply send dummy value.
- Move Domoticz code outside of sensor.ino
@mcspr mcspr merged commit 5de6330 into xoseperez:dev Apr 7, 2020
@mcspr mcspr deleted the dcz/pressure branch April 7, 2020 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant