Page 1 of 1
Device show red bar??
Posted: Friday 11 December 2015 21:51
by rjobaan
Somehow my P1 meter shows a red bar for energy as well for gas? what does that mean? its now updating anymore
Re: Device show red bar??
Posted: Friday 11 December 2015 21:58
by rjobaan
Oh chips Somehow i closed my serial port....how can i check what is using it now??
Some other application is using 8080? how can I check that?
Re: Device show red bar??
Posted: Friday 11 December 2015 22:24
by rjobaan
Im lost....I have no idea what is going on. I see also in log file of domoticz That Error: Serial Port closed!...
I think this code did it
#Set COM port config
ser = serial.Serial()
ser.baudrate = 115200
ser.bytesize = serial.EIGHTBITS
ser.parity = serial.PARITY_NONE
ser.stopbits = serial.STOPBITS_ONE
ser.xonxoff = 1
ser.rtscts = 0
ser.timeout = 20
ser.port = "/dev/ttyUSB0"
Am I right?
How can I turn this back?
This is working by the way
minicom -b 115200 -o -D /dev/ttyUSB0
Re: Device show red bar??
Posted: Friday 11 December 2015 22:57
by rjobaan
Hahah, I solve my problems everytime my self.
I adjusted the domoticz.sh in to port 9000
then I received error Warning: Unit file of domoticz.service changed on disk, 'systemctl daemon-reload' recommended.
And because I did not know how to solve that I changed the port back to 8080 and everything is running again.
Oh but I still can not run domotics as a service
sudo service domoticz.sh start
Warning: Unit file of domoticz.service changed on disk, 'systemctl daemon-reload' recommended.
How can I solve this?
what the .....im getting same error again that p[ort 8080 is already is use!!!
I think I still need some help
And more confusion
I'm still receiving data in my domoticz but when I run ./domoticz I am getting errors
2015-12-11 23:10:29.856 Error: Failed to start the web server: bind: Address already in use
2015-12-11 23:10:29.856 Error: check if no other application is using port: 8080