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

hosp-get: empty version string #2

Open
connorimes opened this issue Apr 6, 2024 · 0 comments
Open

hosp-get: empty version string #2

connorimes opened this issue Apr 6, 2024 · 0 comments

Comments

@connorimes
Copy link
Member

After the Smart Power was running for an extended period (maybe several weeks), hosp-get prints an empty string for the version requested from the device. If the read request had outright failed, we should have gotten an error, so perhaps the request returned an empty (null-terminated) string?

Version: 
On: 1
Started: 1
Millivolts: 4989
Milliamps: 0
Milliwatts: 0
Milliwatt-hours: 1173560

Other requests, like for data, seem to be unaffected.

Neither start/stop nor on/off cycling helped. Only after cycling power to the Smart Power device (unplugging and replugging in the power cable) did I get the expected string response again:

Version: SMART POWER V3.0
On: 0
Started: 0
Millivolts: 4989
Milliamps: 0
Milliwatts: 0
Milliwatt-hours: 0

It's possible this is a bug in the Smart Power firmware.

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