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

Errorous JSON #41

Open
ftrueck opened this issue Sep 10, 2024 · 0 comments
Open

Errorous JSON #41

ftrueck opened this issue Sep 10, 2024 · 0 comments

Comments

@ftrueck
Copy link

ftrueck commented Sep 10, 2024

The bridge is sending incomplete JSON.

  • Erroneous JSON: { "AirValve": 0, "X-Fan": 0, "Health": 0, "SleepMode": 0, "Light": 1, "SwingLfRig": 0, "SwingUpDn": 0, "Quiet": 0, "Turbo": 0, "SteadyMinTemp": , "TempUnit": 0, "HeatCoolType": , "TemRec": 0, "EnergySave": 0 }
  • Erroneous JSON: { "AirValve": 0, "X-Fan": 0, "Health": 0, "SleepMode": 0, "Light": 0, "SwingLfRig": 0, "SwingUpDn": 0, "Quiet": 0, "Turbo": 0, "SteadyMinTemp": , "TempUnit": 0, "HeatCoolType": , "TemRec": 0, "EnergySave": 0 }
  • Erroneous JSON: { "AirValve": , "X-Fan": , "Health": , "SleepMode": , "Light": , "SwingLfRig": , "SwingUpDn": , "Quiet": , "Turbo": , "SteadyMinTemp": , "TempUnit": , "HeatCoolType": , "TemRec": , "EnergySave": }

As you can see SteadyMinTemp, HeatCoolType and sometimes all fields have no value which is malformed JSON.
Either they need to have a default value or may not be sent when empty.

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