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

Update the Namron thermostat socket plug 4512749-N to operate as thermostat #7097

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

ok-67
Copy link

@ok-67 ok-67 commented Feb 20, 2024

I have tested this as an external converter for some time, and seems to be operating as expected. The thermostat outlet socket can now operate as a thermostat by setting the manufacturer specific attribute. I have added the necessary fields to set the temperature and calibration and also to switch between thermostat mode and on/off mode.

…unctionality to opperate as Thermostat. I have been running this as an external converter for some time, and has modified the code inn to the source.
@@ -96,6 +111,80 @@ const tzLocal = {
}
},
} satisfies Tz.Converter,

namronPlugg: {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding from/toZigbee and exposes, can you use the new modernExtend instead? Example

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have a look at it, but I have never programmed in java script before, but I am still learning :-) , so it might take some time

@ok-67 ok-67 marked this pull request as draft February 23, 2024 21:12
ok-67 added 10 commits March 7, 2024 21:38
Updated to use modern extend where it is posible
Updated model of namron outlet socket to operate as thermostat. This time using modern extent where it is possible
Updated model of namron outlet socket to operate as thermostat. This time using modern extent where it is possible
Updated model of namron outlet socket to operate as thermostat. This time using modern extent where it is possible
Updated model of namron outlet socket to operate as thermostat. This time using modern extent where it is possible
Update namron thermostat outlet to operate as thermostat
Updated namron thermostat outlet socket to operate as thermostat
Updated definition for Namron 4512749-N thermostat outlet socket to actually operate as a thermostat
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.

None yet

2 participants