Device show red bar??

Moderator: leecollings

Post Reply
rjobaan
Posts: 21
Joined: Sunday 06 December 2015 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Contact:

Device show red bar??

Post by rjobaan »

Somehow my P1 meter shows a red bar for energy as well for gas? what does that mean? its now updating anymore
rjobaan
Posts: 21
Joined: Sunday 06 December 2015 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Contact:

Re: Device show red bar??

Post 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?
rjobaan
Posts: 21
Joined: Sunday 06 December 2015 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Contact:

Re: Device show red bar??

Post 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
rjobaan
Posts: 21
Joined: Sunday 06 December 2015 21:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Contact:

Re: Device show red bar??

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest