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

Refactor Sinope.js (Cosmetics) #5195

Merged
merged 7 commits into from
Dec 25, 2022
Merged

Refactor Sinope.js (Cosmetics) #5195

merged 7 commits into from
Dec 25, 2022

Conversation

MattL0
Copy link
Contributor

@MattL0 MattL0 commented Dec 24, 2022

No description provided.

@Koenkk Koenkk merged commit 149d55b into Koenkk:master Dec 25, 2022
@Koenkk
Copy link
Owner

Koenkk commented Dec 25, 2022

Thanks!

@onixx
Copy link
Contributor

onixx commented Jan 1, 2023

I believe since this change, I am getting these errors upon startup of zigbee2mqtt:
 2023-01-01 12:57:08Failed to configure 'Thermostat Living Room', attempt 2 (Error: ConfigureReporting 0x500b914000020255/1 hvacThermostat([{"attribute":"systemMode","minimumReportInterval":10,"maximumReportInterval":3600,"reportableChange":null}], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNREPORTABLE_ATTRIBUTE') at Endpoint.checkStatus (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:317:28) at Endpoint.configureReporting (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:694:22) at Object.thermostatSystemMode (/app/data/jp/zigbee-herdsman-converters/lib/reporting.js:135:9) at Object.configure (/app/data/jp/zigbee-herdsman-converters/devices/sinope.js:804:13) at Configure.configure (/app/lib/extension/configure.ts:117:13))

@Koenkk
Copy link
Owner

Koenkk commented Jan 2, 2023

@onixx what is the model of your device?

@onixx
Copy link
Contributor

onixx commented Jan 2, 2023

@Koenkk The error above comes from all 4 of my TH1400ZB.

I also noticed this another error coming from my TH1300ZB;
Failed to configure 'Thermostat Upstairs Bathroom', attempt 1 (Error: ConfigureReporting 0x500b914000020790/1 manuSpecificSinope([{"attribute":"floorLimitStatus","minimumReportInterval":1,"maximumReportInterval":3600,"reportableChange":1}], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4508,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'INVALID_DATA_TYPE') at Endpoint.checkStatus (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:317:28) at Endpoint.configureReporting (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:694:22) at Object.configure (/app/data/jp/zigbee-herdsman-converters/devices/sinope.js:715:13) at Configure.configure (/app/lib/extension/configure.ts:117:13))

@MattL0
Copy link
Contributor Author

MattL0 commented Jan 2, 2023

@Koenkk The error above comes from all 4 of my TH1400ZB.

I also noticed this another error coming from my TH1300ZB; Failed to configure 'Thermostat Upstairs Bathroom', attempt 1 (Error: ConfigureReporting 0x500b914000020790/1 manuSpecificSinope([{"attribute":"floorLimitStatus","minimumReportInterval":1,"maximumReportInterval":3600,"reportableChange":1}], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4508,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'INVALID_DATA_TYPE') at Endpoint.checkStatus (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:317:28) at Endpoint.configureReporting (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:694:22) at Object.configure (/app/data/jp/zigbee-herdsman-converters/devices/sinope.js:715:13) at Configure.configure (/app/lib/extension/configure.ts:117:13))

Was systemMode reportable by your thermostat before?

@onixx
Copy link
Contributor

onixx commented Jan 2, 2023

I don’t think so

@MattL0 MattL0 mentioned this pull request Jan 2, 2023
@MattL0
Copy link
Contributor Author

MattL0 commented Jan 2, 2023

I guess this is the issue Koenkk/zigbee-herdsman@e708702

for your TH1300ZB

@onixx
Copy link
Contributor

onixx commented Jan 3, 2023

Thanks for the PR. I believe for the 1400ZB we just need a try/catch like implemented for the 1123ZB. I iust dont know if any of these really support reporting of systemMode so don’t know if we really need it at all?

@MattL0
Copy link
Contributor Author

MattL0 commented Jan 3, 2023

Yes done the pr for the th1400zb #5255 didn’t really work on this stats in particular but will check for any inconsistencies, this week.

I think it depend on firmware. I updated all my th1124zb to the very latest and the mode + power(watt) became reportable. And after I shipped back the Sinope cloud module to amazon.

It would be great to be able to have a different config for each firmware version.But that would make a big file lol. Or everyone update all their sinope stuff to the latest haha..

@MattL0
Copy link
Contributor Author

MattL0 commented Jan 3, 2023

@Koenkk I think it would be great if you can merge theses two pr to the stable release. Or this type of issue might comme back this month, and configure will fail for a lot a people .

@Koenkk
Copy link
Owner

Koenkk commented Jan 3, 2023

@MattL0 I will make a hotfix release in the coming days.

Koenkk pushed a commit to Koenkk/zigbee-herdsman that referenced this pull request Jan 3, 2023
@MattL0
Copy link
Contributor Author

MattL0 commented Jan 3, 2023

Thank you

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.

3 participants