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

hr_zone and power_zone array #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ScreamForIcecream
Copy link

@ScreamForIcecream ScreamForIcecream commented Dec 22, 2024

add hr_zone and power_zone arrays, push messages.

Before the value of hr_zone/power_zone would be an object containing the last message. For example:
power_zone: {
"message_index": {
"0": false,
"value": 5,
"reserved": false,
"selected": false
},
"high_value": 65534
}

After it is an array with all messages. For example:

power_zone: [
{
"message_index": {
"0": false,
"value": 0,
"reserved": false,
"selected": false
},
"high_value": 140
},
{
"message_index": {
"0": false,
"value": 1,
"reserved": false,
"selected": false
},
"high_value": 190
},
{
"message_index": {
"0": false,
"value": 2,
"reserved": false,
"selected": false
},
"high_value": 227
},
{
"message_index": {
"0": false,
"value": 3,
"reserved": false,
"selected": false
},
"high_value": 265
},
{
"message_index": {
"0": false,
"value": 4,
"reserved": false,
"selected": false
},
"high_value": 302
},
{
"message_index": {
"0": false,
"value": 5,
"reserved": false,
"selected": false
},
"high_value": 65534
}
]

add hr_zone and power_zone arrays, push messages
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.

2 participants