Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need tester ;) #7

Open
mch1307 opened this issue Nov 14, 2017 · 44 comments
Open

Need tester ;) #7

mch1307 opened this issue Nov 14, 2017 · 44 comments

Comments

@mch1307
Copy link
Owner

mch1307 commented Nov 14, 2017

@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

@mch1307 mch1307 added this to the v0.4.0 milestone Nov 14, 2017
@abbar21
Copy link

abbar21 commented Nov 14, 2017

Yes sure ! I'm busy this evening but it should be possible tomorrow.

@webalexeu
Copy link

I can perform test also if you want

@mch1307
Copy link
Owner Author

mch1307 commented Nov 14, 2017

Thank you!
Release v0.4.0 is available. It will only work with Jeedom v3.1.8+, which is beta for now.
So I advise you to test against a Jeedom test system, in beta mode

@mch1307 mch1307 closed this as completed Nov 14, 2017
@mch1307 mch1307 reopened this Nov 14, 2017
@mch1307 mch1307 removed this from the v0.4.0 milestone Nov 14, 2017
@abbar21
Copy link

abbar21 commented Nov 17, 2017

Hi,
I don't forget you but today i've 404 error with https://github.com/jeedom/core/archive/beta.zip so I'm not able to update my new VM testJeedom.

@mch1307
Copy link
Owner Author

mch1307 commented Nov 17, 2017

Hi, just install a new jeedom instance and follow this doc to put it in beta.
You also need to install the script plugin from github

@abbar21
Copy link

abbar21 commented Nov 17, 2017

I know how to update jeedom but the URL to update to beta is not responding.
Here is a part of the update log from jeedom
017-11-17 10:59:30-- https://codeload.github.com/jeedom/core/zip/beta
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-11-17 10:59:30 ERROR 404: Not Found.

Why update script plugin from GitHub and not from market ?

@mch1307
Copy link
Owner Author

mch1307 commented Nov 17, 2017

works for me...
Just configure as described in the doc, should be ok
The script plugin has also been enhanced, I have installed it from github but I guess you can choose the beta version from the market

@abbar21
Copy link

abbar21 commented Nov 18, 2017

Always the same problem... despite the doc.
I leaved a message in the jeedom forum.
https://www.jeedom.com/forum/viewtopic.php?f=23&t=31619

@abbar21
Copy link

abbar21 commented Nov 20, 2017

It works ! But in the conf.d (supervisor) I did not specify AUTO_CREATE_OBJECTS to True but the objects were still created.
what's happening if I delete or update an object in NHC ? It's deleted or update automaticaly in Jeedom ?

@mch1307
Copy link
Owner Author

mch1307 commented Nov 20, 2017

It will check the auto_Create_objects flag.
Currently there is no update/delete possible, and I don't think I will implement those.
The goal of the auto_create_objects is to ease the setup in Jeedom as it can be very long and error prone

@abbar21
Copy link

abbar21 commented Nov 20, 2017

In the doc, the default flag of auto_Create_objects flag is false.

@mch1307
Copy link
Owner Author

mch1307 commented Nov 20, 2017

thanks for your feedback.
Should be fixed in v0.4.1

@abbar21
Copy link

abbar21 commented Nov 20, 2017

The objects were created, but the light does not work ...
gomotics.log

@mch1307
Copy link
Owner Author

mch1307 commented Nov 20, 2017

The default value for GM_HOSTPORT does not include the port, will fix this. This means the HTTP commands created in Jeedom are wrong.
Can you delete all objects from Jeedom, set the GM_HOSTPORT variable to localhost:8081, clean the log and start gomotics. Set the AUTO_CREATE_OBJECTS=Y to re-create all objects in Jeedom

@abbar21
Copy link

abbar21 commented Nov 21, 2017

I'm testing the 0.4.2 version with the last conf.d but not lights.
gomotics.log
For Dimmer Salon
capture d ecran 2017-11-21 a 22 43 28

@mch1307
Copy link
Owner Author

mch1307 commented Nov 21, 2017

What do you exactly mean by no light?
When switching from NHC, is the state updated in Jeedom?
If switching from Jeedom, is the light physically switched?
Can you send one example of script setup in Jeedom, specifically the URL of the on or off command. What happens if you try this url from a browser?

@mch1307
Copy link
Owner Author

mch1307 commented Nov 21, 2017

Assuming gomotics runs on the same host thans Jeedom, what happens if you type http://jeedom_host:8081/api/v1/jeedom/58/100 ?

@abbar21
Copy link

abbar21 commented Nov 21, 2017

When I switch a light in NHC the state is returned in Jeedom.
But when if I switch a light in Jeedom, the light is not physically switched in NHC
capture d ecran 2017-11-21 a 23 27 25

@mch1307
Copy link
Owner Author

mch1307 commented Nov 21, 2017

can u try this http://192.168.1.38:8081/api/v1/nhc/58, it should return the "Dimmer Salon" info
58 is the NHC id, so I was wrong. Can u try to replace 58 by the "Dimmer Salon" id in Jeedom and retry http://192.168.1.38:8081/api/v1/jeedom/__ID__/100?

@abbar21
Copy link

abbar21 commented Nov 21, 2017

capture d ecran 2017-11-21 a 23 38 37

http://192.168.1.38:8081/api/v1/nhc/29 hasn't a return

@mch1307
Copy link
Owner Author

mch1307 commented Nov 21, 2017

Try jeedom/29/100 , Not nhc

@abbar21
Copy link

abbar21 commented Nov 21, 2017

capture d ecran 2017-11-21 a 23 51 33

;)

@mch1307
Copy link
Owner Author

mch1307 commented Nov 22, 2017

And the light was switched on?
Are your sure you are using the beta version of the plugin "script"?

@abbar21
Copy link

abbar21 commented Nov 22, 2017

Yes the light was switched on. and with jeedom/29/0 switched Off
Yes script - beta version 2017-10-04 01:03:18

@mch1307
Copy link
Owner Author

mch1307 commented Nov 22, 2017

It is not the right version. I have this:
image

@abbar21
Copy link

abbar21 commented Nov 22, 2017

I'don't know how to update the plugin directly from GitHub :(

@mch1307
Copy link
Owner Author

mch1307 commented Nov 22, 2017

Uninstall the current one, then go to Plugins \ gestion de plugins \ ajouter depuis une autre source
image

@abbar21
Copy link

abbar21 commented Nov 22, 2017

I can't choose Github just Market and URL

@mch1307
Copy link
Owner Author

mch1307 commented Nov 22, 2017

You have to activate it first in configuration \ Misa à jours:
image

@abbar21
Copy link

abbar21 commented Nov 22, 2017

Thank you !
Now, I have the same version as you of the + jeedom plugin script
But the light switch does not work in the jeedom
It was with the 0.4.2... I had not seen the new version

@abbar21
Copy link

abbar21 commented Nov 22, 2017

It looks like everything is good! I'm waiting for Jeedom + plugin script no longer in beta to put on my production server

@mch1307
Copy link
Owner Author

mch1307 commented Nov 22, 2017

Good news!

@mch1307
Copy link
Owner Author

mch1307 commented Dec 1, 2017

@webalexeu did you have the opportunity to do some tests?
thanks

@webalexeu
Copy link

webalexeu commented Dec 5, 2017 via email

@mch1307
Copy link
Owner Author

mch1307 commented Dec 5, 2017

Hi,
Interesting... Can you run a port scan on your controller IP using tool like nmap
This would allow to see which ports are opened.
Did you upgrade only the controller or the complete installation?

@webalexeu
Copy link

webalexeu commented Dec 5, 2017 via email

@mch1307
Copy link
Owner Author

mch1307 commented Dec 6, 2017

I have seen that even the Niko app is a different one, and requires the your installation is registered by them.. Difficult for me to get further without having the hardware.

@mch1307
Copy link
Owner Author

mch1307 commented Dec 6, 2017

Your NHC control unit reference is 550-00003 or 550-00002?

@webalexeu
Copy link

webalexeu commented Dec 7, 2017 via email

@abbar21
Copy link

abbar21 commented Dec 27, 2017

Hi,

Any news from Niko ?
I do not have the hardware to test NHC 2 but depending the new features maybe i'll change.

@webalexeu
Copy link

webalexeu commented Jan 3, 2018 via email

@mch1307
Copy link
Owner Author

mch1307 commented Jan 8, 2018

It seems they are more focused on their "installateurs" rather than end-users.
I did not see really interesting new features and not having any API in 2018 is a real shame

@webalexeu
Copy link

webalexeu commented Jan 8, 2018 via email

@webalexeu
Copy link

Hello @mch1307 ,

I've good news for V2. I've found on OpenHab2 that they are currently upgrading their addon to work with NHC V2 (https://github.com/openhab/openhab2-addons/pull/4226)
In V2, there is a MQTT Broker Server running on the controller (Mosquitto).
I've tested MQTT part and indeed, we can control and get status.

Let me know if you are interested to have more details

Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants