Giter Site home page Giter Site logo

Comments (7)

FredBlo avatar FredBlo commented on June 21, 2024

Hi,

In your log you only have the lines you sent ? I would expect something between flow credentials info and gateway connection actually, like

23 Dec 16:09:47 - [info] Server now running at http://127.0.0.1:1880/
23 Dec 16:09:47 - [info] Starting flows
23 Dec 16:09:47 - [info] [myhome-gateway:F459] gateway connection : instanciating client... (attempt #1)
23 Dec 16:09:47 - [info] Started flows
23 Dec 16:09:47 - [info] [myhome-gateway:F459] gateway connection : trying to connect to host...(192.168.0.212:20000)
23 Dec 16:09:47 - [info] [myhome-gateway:F459] gateway connection : connected to host (192.168.0.212:20000), initiating TCP monitoring...
23 Dec 16:09:47 - [info] [myhome-gateway:F459] gateway connection : handshake acknowledged, asking for authentication if required...
23 Dec 16:09:47 - [info] [myhome-gateway:F459] gateway connection : request to authenticate acknowledged, authenticating using basic password check...
23 Dec 16:09:47 - [info] [myhome-gateway:F459] gateway connection : Connection successful !
23 Dec 16:09:47 - [info] [myhome-gateway:F459] gateway connection : gathering status of all connected lights within a few seconds...

?

from node-red-contrib-myhome-bticino-v2.

stefanorossiitaly avatar stefanorossiitaly commented on June 21, 2024

from node-red-contrib-myhome-bticino-v2.

FredBlo avatar FredBlo commented on June 21, 2024

Hi,

The F454 is described as a gateway and it is the same generation (~release date) as MH201, only 1,5 year older than F455...
It is announced by Bticino as a gateway, so it should work.

The 'credentials warning' message you have is from Node-RED and is not a problem as such... the second part is maybe more of a concern '"Encrypted credentials not found"'
But your log looks weird to me anyway... I will need a bit more info

  • which version of Node-RED are you running ? On which device ?
  • how is you gateway configured wrt security : no password (=white-listed IP address), OPEN password or HMAC password ?
  • can you enable 'debug' logging level in your Node-RED 'settings.js' file and sent me log content after restarting ?
    image
  • are you able to connect to your gateway using a PC with Bticino software, in command and monitoring mode ? (OpenWebNet client, can be found here)
  • can you provide a sample of your flow (by exporting a selected MyHome node & its linked one, this will also include the gateway node

Let me know :-)

from node-red-contrib-myhome-bticino-v2.

stefanorossiitaly avatar stefanorossiitaly commented on June 21, 2024

from node-red-contrib-myhome-bticino-v2.

FredBlo avatar FredBlo commented on June 21, 2024

So I understand you were able to connect to your gateway then :-)

I do not use MQTT, but I am sure finding a sample flow -to base your on- should be quite easy on standard subflows on nodered.org (this one for example).
Once you have the incoming/outgoing info in node-RED, using nodes is quite straightforward based on sample flows provided.

The MyHome Suite file is not required (all you need to configure you nodes is the 'AP' number of your light points, shutters,...)

I am however wondering : if you are already using a home assistant 'server', why don't you add a plugin directly in there (such as this one) instead of re-mapping those to a secondary instance running node-RED ?

from node-red-contrib-myhome-bticino-v2.

stefanorossiitaly avatar stefanorossiitaly commented on June 21, 2024

from node-red-contrib-myhome-bticino-v2.

FredBlo avatar FredBlo commented on June 21, 2024

OK, I understand, multiple risers is not something I included from the beginning in my nodes set (and I personally have a F422 but is configured in 'physical expansion' mode, so remains 'transparent')

I do not use (nor have any experience) with HA, so I will not be able to assist you on this one, sorry...
I personally decided to have all running on node-RED to avoid multiple services..

But I would try to search on a sensor integration between HA and a HUE or HomeKit runnning on Node-RED... I think this is a more common case (Bticino is not as widespread as these 2 ;-) )...

Hope you find your way through (and would be interesting to post your final solution so others can use it afterwards : -) )

from node-red-contrib-myhome-bticino-v2.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.