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

Pull node_control power commands into hera_mc #634

Open
david-deboer opened this issue Sep 27, 2022 · 1 comment
Open

Pull node_control power commands into hera_mc #634

david-deboer opened this issue Sep 27, 2022 · 1 comment
Assignees

Comments

@david-deboer
Copy link
Contributor

The hera_node_control power commands are done via a cronjob on hera-node-head -- capture into hera_mc.
DDB will log keys in this issue as step 1.

@david-deboer david-deboer self-assigned this Sep 27, 2022
@david-deboer
Copy link
Contributor Author

The commands are logged into redis as a hash at commands:node:#. The elements are the item with the unix time it was sent. E.g.:
commands:node:11 {'power_snap_0_cmd': 'on|1665417607', 'power_snap_1_cmd': 'on|1665417611', 'power_snap_2_cmd': 'on|1665417615', 'power_snap_3_cmd': 'on|1665417619', 'power_snap_relay_cmd': 'on|1665417601', 'power_pam_cmd': 'on|1665417623', 'power_fem_cmd': 'on|1665417627'}

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

No branches or pull requests

1 participant