arachnetech / homebridge-mqttthing

A plugin for Homebridge allowing the integration of many different accessory types using MQTT.
Apache License 2.0
462 stars 104 forks source link

Missing accessory type: solar panels and/or solar inverters #560

Open guillochon opened 2 years ago

guillochon commented 2 years ago

Again I have hacked this in as something else for now (an outlet), but it would great to add a proper solar panel type with power produced, etc.

rbswift commented 1 year ago

Apple need to support new accessories before they can be added to homebridge plugins

x23piracy commented 1 year ago

Hi, you can integrate it as outlet but it will not count negative, is this something the plugin can do for us? Maybe an option to use this outlet negated? (Count it minus). All we need is to have an outlet in negative value calculation, i don't know if homekit can support negative values.

Best Regards X23

arachnetech commented 1 year ago

Mqttthing can only expose HomeKit types supported by Apple. I'm not aware of a Solar Panel/Inverter type.

x23piracy commented 1 year ago

yes i know at it works well as outlet but it is counting positive, is there a way to interpret the values in negative? Not from homekit side it just displays what you send over but on mqttthing side? I have no idea if a minus value is possible.

arachnetech commented 1 year ago

It might be possible to configure an apply function or codec to invert the value published?

x23piracy commented 1 year ago

You mean in mqttthing or the thing sending something to the mqtt broker?