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

Consider: support some template controls from Apex #22

Open
brettonw opened this issue Aug 28, 2022 · 1 comment
Open

Consider: support some template controls from Apex #22

brettonw opened this issue Aug 28, 2022 · 1 comment

Comments

@brettonw
Copy link
Contributor

Apex has a few pre-built controls that you could explicitly support, for instance a temperature control. From the "config":

{
name: "Heater_2_4",
icon: "Thermometer",
ctype: "Heater",
log: false,
inuse: true,
type: "outlet",
did: "2_4",
gid: "",
gtype: "0",
ID: "12",
prog: "Fallback OFF 
If Tmp < 79.9 Then ON 
If Tmp > 80.1 Then OFF 
",
extra: { }
},

The heater outlet has a program attached to it, and it is specified as ctype: heater. I kind of think the point of exposing the Neptune to HA is to take control of the outlets using a richer command structure, but some stuff just doesn't need to be taken over. I can replicate the Neptune control in HA, or I could simply send a new prog value to the control with my own min/max values.

@itchannel
Copy link
Owner

Apex has a few pre-built controls that you could explicitly support, for instance a temperature control. From the "config":

{
name: "Heater_2_4",
icon: "Thermometer",
ctype: "Heater",
log: false,
inuse: true,
type: "outlet",
did: "2_4",
gid: "",
gtype: "0",
ID: "12",
prog: "Fallback OFF 
If Tmp < 79.9 Then ON 
If Tmp > 80.1 Then OFF 
",
extra: { }
},

The heater outlet has a program attached to it, and it is specified as ctype: heater. I kind of think the point of exposing the Neptune to HA is to take control of the outlets using a richer command structure, but some stuff just doesn't need to be taken over. I can replicate the Neptune control in HA, or I could simply send a new prog value to the control with my own min/max values.

Definitely something to consider adding down the line but could be quite a bit of work :)

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

2 participants