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

Implement two check methods for smart sockets #17

Merged
merged 2 commits into from
Feb 11, 2019
Merged

Conversation

mcktr
Copy link
Owner

@mcktr mcktr commented Feb 4, 2019

This implements two new check methods for smart sockets. One to check
the current power consumption in watts (smart_socketpower) and one to
check the total power consumption over the last year in kWh
(socket_powerenergy).

refs #2

This implements two new check methods for smart sockets. One to check
the current power consumption in watts (smart_socketpower) and one to
check the total power consumption over the last year in kWh
(socket_powerenergy).

refs #2
@mcktr mcktr added the enhancement New feature or request label Feb 4, 2019
@mcktr mcktr added this to the 1.0 milestone Feb 4, 2019
@mcktr
Copy link
Owner Author

mcktr commented Feb 11, 2019

go run cmd/check_fritz/*.go -hostname 192.168.178.1 -password [...] -method smart_socketpower -index 12
OK - FRITZ!DECT 200 04.09 - Schreibtisch CONNECTED 76.46 W
go run cmd/check_fritz/*.go -hostname 192.168.178.1 -password [...] -method smart_socketenergy -index 12
OK - FRITZ!DECT 200 04.09 - Schreibtisch CONNECTED 13.62 kWh

@mcktr mcktr merged commit df44096 into master Feb 11, 2019
@mcktr mcktr deleted the feature/method-socket branch February 11, 2019 17:44
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

Successfully merging this pull request may close these issues.

1 participant