echoromeo / pynobo Goto Github PK
View Code? Open in Web Editor NEWPython 3 TCP/IP interface for Nobø Hub / Nobø Energy Control
License: GNU General Public License v3.0
Python 3 TCP/IP interface for Nobø Hub / Nobø Energy Control
License: GNU General Public License v3.0
Hi! Been playing around with your Home Assistant implementation and found a couple of issues. Would love to get this working all the way but I am really new at this and not capable to try my self :(
Anyways this is what I have noticed:
Which thermostats are you using on your radiators? Im using NCU 1R but will not hesitate to replace them with NCU 2R if necessary for better compatibility. Further Im using latest version HassIO on a raspberry pi (soon to be an intel nuc)
I hope you will continue to develop this and make it a real component, I would love it.
Thanks in advance!
Originally posted by @bubbzy in #9 (comment)
Hello,
NOBO HUB uses local time, but Home assistant uses UTC time internally and assumes that other integrations also use this time. During the handshake, the UTC time is sent to the NOBO HUB and this will cause a time shift in the switching times in the weekly calendar. It would be possible to fix this.
Thank you
Good day!
I have no experience with python. But I was very interested in your project. Tell me how can I call your script from php?
Hey,
First of all, thanks for doing this.
Been searching a while to integreate my hub to Home Assistant.
But, a newbie question..
How do I get this in to my system?
Best regards,
As an option to including this as a pluing for the various systems, how about implementing an MQTT client and let this run as a standalone service?
I get this error message when testing overnight in Home Assistant.
I guess this happens when the hub restarts:
Catch this exception as well?
Log Details (ERROR)
Sun Jun 17 2018 23:19:57 GMT+0200 (Central European Summer Time)
Unhandeled exception: [Errno 113] No route to host
Traceback (most recent call last):
File "/config/custom_components/climate/nobo_hub.py", line 536, in socket_receive
resp = self.get_response(True)
File "/config/custom_components/climate/nobo_hub.py", line 507, in get_response
response += self.client.recv(bufsize)
OSError: [Errno 113] No route to host
Fikk denne i natt som da viste seg å være "fatal" for pynobo.
2019-10-23 03:27:02 ERROR (Thread-2) [custom_components.nobo_hub.pynobo.nobo] Unhandeled exception: [Errno 113] Host is unreachable
Traceback (most recent call last):
File "/config/custom_components/nobo_hub/pynobo/nobo.py", line 381, in socket_receive
resp = self.get_response(True)
File "/config/custom_components/nobo_hub/pynobo/nobo.py", line 352, in get_response
response += self.client.recv(bufsize)
OSError: [Errno 113] Host is unreachable
Har endret koden slik at OsError fanges opp istedenfor ConnectionError og ser etterhvert om det blir bedre.
Edit: Ser nå at "Unhandeled exception: [Errno 113] Host is unreachable" forvirret meg. Den er jo håndtert i koden selv om det står "Unhandeled exception" og da nytter det ikke å fange OsError avbrudd.
Skal kikke litt på hvorfor ikke pynobo kommer i gang igjen av seg selv.....
Edit 2: Jeg er trøtt..... Å fange opp OsError er vist veien å gå allikevel
This won't be a real issue, more like a question:
In short: basically I can't get the current temperatures of any of the units, although I'd think this should be possible.
Longer story:
I have a Nobo Eco Hub and a number of NCU-2R units, everything is working very well, pynobo also sees the entire system, there are no problems at all, thanks a lot for the code!
What I'm wondering is this: how is it that the desired temperature of NCU-2R units can be set (in many different ways, app, on the unit itself using the physical buttons, etc), yet the current temperature cannot be read out. The reason I think it can't be read out is that in the code you have, line 269,
"168": Model("168", Model.THERMOSTAT_HEATER, "NCU-2R", supports_comfort=True, supports_eco=True),
So has_temp_sensor is False by default. And indeed the hub.temperatures ordered dict is always blank. The G00 response doesn't contain Y02 apparently (I use the example code from the README). Looking at MODELS it looks like only
"234": Model("234", Model.CONTROL_PANEL, "SW4", has_temp_sensor=True),
has_temp_sensor=True so I'd think pynobo will only report temperatures from this thing.
But I guess all units, even the simplest ones (with a thermostat) must know the temperature somehow, otherwise how do they know when to switch on or off, so why can't we read out this information? What is also suspicious is that on the official app the current temperature is not displayed anywhere either.
It's of course possible that I'm misunderstanding something.
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.