lloydw / hass-spanet Goto Github PK
View Code? Open in Web Editor NEWHomeAssistant integration for SpaNET
License: MIT License
HomeAssistant integration for SpaNET
License: MIT License
I tried to add an automation to heat the spa overnight between specific hours using a cheap electricity rate on my power plan. but couldn't see an Action to do it.
The Device is listed as 'lloydw/hass-spanet' in my automation section. Not sure if that is just due to the way I added the plugin to Home Assistant. There are no Actions associated to the device. I was hoping to see set temperature so I can raise it during certain hours.
Note that I can set the temp successfully using the dashboard manually. Overall this is great, thanks so much for putting it together.
Just letting you know I have put the source code up as you are referencing it in your project. Feel free to just take that code and convert/use as needed :)
The 'encryption' model is easy enough....
https://github.com/thehoff/spanet-password-creator
have tried to set up and have encountered an error
have the dependencies been deprecated or have I set this up incorrectly?
Logger: homeassistant.config_entries
Source: custom_components/spanet/init.py:49
Integration: spanet (documentation)
First occurred: 3:43:21 PM (3 occurrences)
Last logged: 3:48:19 PM
Error setting up entry spanet for spanet
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/spanet/init.py", line 49, in async_setup_entry
hass.config_entries.async_setup_platforms(config_entry, PLATFORMS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
G'day Lloyd,
I've just come across this project. Nice work !!
I did the initial reverse engineering work on the SpaNet protocol. Since then I have been using a hacked homebridge instance inside home assistant, swearing that I would get around to writing a native python integration for home assistant.
The main reason I'm reaching out is that last week I started writing a fully featured python library for SpaNet. It's not production ready yet, but when it is I'm hoping that you might integrate that into this project with the view to getting this into HA Core.
Cheers,
David
Hey,
So a while ago I wrote up a little service for using spanet without using their reverse proxy amazon (the wifly tunnels to amazon and just sits there with a connection open ftr) hostedness.
https://github.com/freman/spanet
Was wondering if you'd be willing to work with me to make it so it was an option to use this self hosted bridge with your plugin, or learning the secrets of disabling the wifly tunnel and using the api on the spa directly (If you can't tell I'm not a fan of cloud connected services)
First of all, thank you for picking this project up! Cant wait to have native support of all features in Home Assistant.
I currently use HomeBridge added to Home Assistant as a HomeKit device with the below integration in order to control Power Save via Home Assistant Automations (on and off depending on Solar output)
Assuming the author would be ok, maybe you can borrow code to help speed up the development process?https://github.com/BlaT2512/homebridge-spanet
API https://github.com/BlaT2512/spanet-api
Many thanks for the SpaNet integration, I have been looking for this function for a while (mosty because the native app is really clunky). I am pleased to confirm I have installed it successfully.
I am a recent convert to Home Assistant from Openhab, and slowly getting used to the different data point structures.
A question (and maybe suggestion for development). I note the entities are provided as sensors only. Is there a way to deploy a service to set the temperature from an automation?
Further to this, is it possible to extend the integration to enable monitoring, and (even better) control the spa operating mode, pump on/off, powersave mode etc?
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.