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

updateFirmware.py does not convert between shields #37

Open
lbussy opened this issue Jun 23, 2019 · 0 comments
Open

updateFirmware.py does not convert between shields #37

lbussy opened this issue Jun 23, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lbussy
Copy link
Member

lbussy commented Jun 23, 2019

When using the --shield/-h switch to change shields, the script does not change between pin 14 and 18 so the import fails with:

ERROR 9: Device is onewire but pin 18 is not configured as a onewire bus.
ERROR 3: Device definition update specification is invalid.

Example:

{"controlSettings": {"beerSet": null, "fridgeSet": null, "mode": "o", "coolEst": 5.0, "heatEst": 0.131}, "controlConstants": {"coolTargetL": -0.541, "tempSetMin": 33.8, "coolTargetH": 0.359, "tempSetMax": 86.0, "beerSlowFilt": 4, "iMaxErr": 0.9, "fridgeSlowFilt": 4, "fridgeFastFilt": 1, "maxCoolTimeForEst": 1200, "maxHeatTimeForEst": 600, "idleRangeL": -1.801, "pidMax": 18.0, "lah": 0, "Kd": 1.5, "fridgeSlopeFilt": 3, "hs": 0, "Ki": 0.25, "Kp": 5.0, "heatTargetH": 0.541, "heatTargetL": -0.359, "beerFastFilt": 3, "tempFormat": "F", "idleRangeH": 1.801, "beerSlopeFilt": 4}, "installedDevices": [{"a": "28DBFD9C080000BE", "c": 1, "b": 0, "d": 0, "f": 5, "i": 1, "h": 2, "j": 0.0, "p": 18, "t": 1}, {"a": "2817FE9F0800009A", "c": 1, "b": 1, "d": 0, "f": 9, "i": 2, "h": 2, "j": 0.0, "p": 18, "t": 1}, {"c": 1, "b": 0, "d": 0, "f": 3, "i": 5, "h": 1, "p": 5, "t": 3, "x": 1}, {"c": 1, "b": 0, "d": 0, "f": 2, "i": 6, "h": 1, "p": 6, "t": 3, "x": 1}]}
@lbussy lbussy self-assigned this Jun 23, 2019
@lbussy lbussy added the bug Something isn't working label Jun 23, 2019
@lbussy lbussy added enhancement New feature or request and removed bug Something isn't working labels Jan 8, 2022
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

No branches or pull requests

1 participant