Comments (21)
This means /opt/gomotics is not in your PATH or it does not have the exec flag.
Try ./gomotics when launching from /opt/gomotics and make sure it has the x attributes (ls -l) If not, just do chmod +x gomotics
from gomotics.
from gomotics.
which linux are you running? 32 or 64 bits? type: uname -a
You have to download the right binary for your platform on the GitHub release page
from gomotics.
if running a linux 64, choose linux_amd64
If raspberry choose linux_arm64
from gomotics.
Linux HomeJeedom 4.9.0-4-686-pae #1 SMP Debian 4.9.51-1 (2017-09-28) i686 GNU/Linux
Do you have a 32bits release or I can do a new VM in 64bits ;)
from gomotics.
Thanks for your patience ! ;)
from gomotics.
No worries ;)
A release v.0.3.1 should appear in a few minutes with a i386 distrib, if everything goes well
from gomotics.
No lights... but :
gomotics.log
And I've this line in my script for 'Dimmer Salon"
http://192.168.1.106:8081/api/v1/jeedom/8/#slider#
Do I need to restart gomotics every time I restart Jeedom server ?
from gomotics.
in the log: listen tcp :8081: bind: address already in use
It means another process is already using port 8081 (jeedom-nhc?)
You can use another port or make sure this port is not used
PS: if you use a different port, you will need to update the Jeedom script setup accordingly
from gomotics.
Yes it is Jeedom-NHC so I took port 8082 for gomotics.
gomotics.log
from gomotics.
http://192.168.1.106:8082/api/v1/jeedom/8/100 failed in a browser
from gomotics.
What's the error message? Is gomotics still running?
Can you get the list of Niko items in your browser: http://192.168.1.106:8082/api/v1/nhc?
from gomotics.
\o/ the lights working !!! "Dimmer Salon" and "Dimmer salon TV" are different now ! It may just be an impression, but it's more responsive than jeedom-NHC
What can I do to make the server automatically start at Jeedom server startup?
gomotics.log
from gomotics.
Hi,
This is good news ;)
I have written some doc on the wiki page. Please download the latest version as I fixed a bug with the logger.
If you want to disable jeedom-nhc, edit the config file and set the startup to false instead of true.
Remember to change the log level to change the log level to info because it is verbose
from gomotics.
With supervisor, do I need confg.toml in /opt/gomotics ? If not, where can I change the listen port ?
Is it normal that stderr_logfile and stdout_logfile write in the same file ?
from gomotics.
You don't need a config file as all parameters can be passed as env variables. This is what you setup in the environment
line in supervisor config. So if you want to change the port to 8082, just add LISTEN_PORT=8082 in the supervisor config file. In your case the line would look like environment=JEE_APIKEY="abcdefg12345",JEE_URL="http://jeedom-host/core/api/jeeApi.php",LOG_LEVEL="INFO",LOG_PATH="stdout",LISTEN_PORT="8082"
Yes, both stderr et stdout will be written to the same log file. This is OK
from gomotics.
with http://192.168.1.106:8082/api/v1/jeedom/8/100 in a browser, I've "Item not found"... :(
gomotics.log
from gomotics.
Looks like could it could not get any info from jeedom. Is jeedom up and running? Are you sure about the config? Can you post your environment line from supervisor config?
from gomotics.
It's good now. Maybe the server was not fully started. After a while I refreshed http://192.168.1.106:8082/api/v1/nhc/ and the jeedomId were good.
from gomotics.
I think I found where the problem is.
I restarted my jeedom server, and gomotics did not have jeedom info. I checked the gomotics server and the uptime was 12 minutes. After restarting the gomotics server, it was OK. Bug?
from gomotics.
Well, it's difficult to track the status of Jeedom as both processes are not linked in the startup.. So for me it's rather normal to restart gomotics after you restart jeedom..
But I will think about it ;)
from gomotics.
Related Issues (11)
- How to update to 3.1.8 and help for configuration HOT 31
- Support NHC shutters HOT 1
- One-way updState ? HOT 5
- Wrong ID in http request to update Jeedom state HOT 3
- Enhancement: automatically create equipments from NHC to Jeedom HOT 1
- Enhancement: check if plugin script is installed at startup HOT 4
- Add release for arm 386 HOT 5
- Need tester ;) HOT 44
- auto create flag value not taken into account HOT 1
- Default GM_HOSTPORT value does not contain port HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gomotics.