mch1307 / gomotics Goto Github PK
View Code? Open in Web Editor NEWNiko Home Control API, interface to Jeedom (NHC controller v1)
License: MIT License
Niko Home Control API, interface to Jeedom (NHC controller v1)
License: MIT License
Always create objects even if flag is set to N
At startup, check if the script plugin is installed in Jeedom.
If not, log it and disable Jeedom feature
I think I'm a black cat ;o)
When I push on an NHC switch to turn on a lamp, the state does not change in jeedom.
The log indicates that Gomotics sends the request to jeedom but not update.
gomotics.log
The return of the URL : http://192.168.1.106/core/api/jeeApi.php?apikey=abdc1234\u0026id=3\u0026slider=100\u0026type=cmd is {"jsonrpc":"2.0","id":null,"error":{"code":1,"message":"Requ\u00eate invalide. Version Jsonrpc invalide : "}}
When I switch light, update is not done.
When I check in the log, all IDs seems correct nhc ID =7, name =lampe, location=Maison, jeedom id=4, updState id=36
But URL generated is using id 4 and not id 36
Log:
{"filename":"jeedom.go","function":"UpdateJeedomState","level":"debug","line":44,"msg":"updjeedom: {NHC 7 switch lampe Maison 100 0 0 4 36 slider}","package":"github.com/mch1307/gomotics/server","time":"2017-11-08T23:36:40+01:00"}
{"filename":"jeedom.go","function":"UpdateJeedomState","level":"debug","line":52,"msg":"jeedom upd url: http://localhost/core/api/jeeApi.php?apikey=xwDY5fagc1A902MI5CpCQFyi01eeMZC6\u0026id=4\u0026slider=100\u0026type=cmd","package":"github.com/mch1307/gomotics/server","time":"2017-11-08T23:36:40+01:00"}
Thank you for the support
@abbar21 I am ready to release a new version, the main new functionality is that it can automatically create objects and scripts in Jeedom. Would you be interesting in testing it?
thanks
The ID passed to Jeedom in the update request is the eqLogic id and not the cmd id
This is a ...
Describe the current behavior?
N/A
What is the expected behavior?
N/A
What is the motivation / use case for changing the behavior?
Be able to manage NHC shutters/blinds from Jeedom
Please tell us about your environment:
Other information
Hi,
I follow the wiki to configure the interface between Jeedom and NHC, i think everything is correct (look at the files below) the only warning I've got is the firmware of Jeedom is not correct, I've got the firmware 3.1.7 of Jeedom and I know in the Wiki is mentionned to have the firmware 3.1.8, but no updates are propose. I've configure Jeedom to have Beta update but still nothing.
Do you have a solution for that ?
Thanks.
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.