Powiadomienia
Wyczyść wszystko

Smarticz 2020

9 Wpisów
2 Użytkownicy
1 Likes
1,122 Wyświetleń
(@bernard)
Wpisów: 5
Bywalec
Autor tematu
 

Witam mam pytanie odnośnie  tego systemu . A więc po zainstalowaniu Smarticza  na Malince wszystko wydawało się  ok nie instalowałem jeszcze swoich urządzeń są tylko te pluginy które zostały uruchomione z systemem . Problem polega na tym że co parę minut następuje restart systemu i ponowne załadowanie  ,wiem że monit  ma za zadanie pilnować nieprawidłowości  w systemie ale tak naprawdę tracimy kontakt z Raspberry pi czy to normalne .

Proszę o odpowiedz .

 
Dodane : 24/04/2020 12:12 am
isom
 isom
(@isom)
Wpisów: 5079
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

@bernard Cześć 

Takie zachowanie systemu nie jest normalne , najprawdopodobniej do tych restartów doprowadza monit, ale żeby to robił musi mieć powody.

Napisz , którą wersję pobrałeś ( na którym porcie pracuje domoticz) i co zrobiłeś po wgraniu obrazu na nośnik ( karta , dysk ). 

 
Dodane : 24/04/2020 9:20 am
(@bernard)
Wpisów: 5
Bywalec
Autor tematu
 
Filtr:  X

Witam dziękuje za zainteresowanie.

System zainstalowany  jest na karcie 16 gb ,San disk zmieniałem także i karty .

Port został zmieniony na 1600 i tylko ten został zmieniony.

Dodatkowo uruchomiony  plugin domoticz airly.

Zasilacz 2A 

Pozdrawiam Bernard

Domoticz

V4.10717

 
2020-04-24 21:30:33.843 Sunrise: 05:35:00 SunSet: 19:55:00
2020-04-24 21:30:33.843 Day length: 14:21:00 Sun at south: 12:45:00
2020-04-24 21:30:33.843 Civil twilight start: 04:59:00 Civil twilight end: 20:31:00
2020-04-24 21:30:33.843 Nautical twilight start: 04:14:00 Nautical twilight end: 21:16:00
2020-04-24 21:30:33.843 Astronomical twilight start: 03:22:00 Astronomical twilight end: 22:08:00
2020-04-24 21:30:33.422 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
2020-04-24 21:30:33.441 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
2020-04-24 21:30:33.442 Status: Startup Path: /home/pi/domoticz/
2020-04-24 21:30:34.738 Active notification Subsystems: (0/13)
2020-04-24 21:30:34.842 Starting shared server on: :::6144
2020-04-24 21:30:34.714 Status: PluginSystem: Started, Python version '3.7.3'.
2020-04-24 21:30:34.812 Status: WebServer(HTTP) started on address: :: with port 1600
2020-04-24 21:30:34.838 Status: WebServer(SSL) started on address: :: with port 443
2020-04-24 21:30:34.843 Status: RxQueue: queue worker started...
2020-04-24 21:30:34.842 Status: TCPServer: shared server started...
2020-04-24 21:30:34.925 Status: Incoming connection from: 192.168.0.21
2020-04-24 21:30:36.844 Status: Hardware Monitor: Started
2020-04-24 21:30:36.859 Status: (zigbee2mqtt) Started.
2020-04-24 21:30:36.859 Status: (e) Started.
2020-04-24 21:30:36.859 Status: EventSystem: reset all events...
2020-04-24 21:30:36.903 Status: EventSystem: reset all device statuses...
2020-04-24 21:30:36.976 Status: PluginSystem: Entering work loop.
2020-04-24 21:30:37.052 Status: Python EventSystem: Initalizing event module.
2020-04-24 21:30:37.054 Status: EventSystem: Queue thread started...
2020-04-24 21:30:37.057 Status: EventSystem: Started
2020-04-24 21:30:37.861 Status: MQTT: Connecting to localhost:1883
2020-04-24 21:30:37.962 Status: MQTT: connected to: localhost:1883
2020-04-24 21:30:38.755 (e) Debug logging mask set to: NONE
2020-04-24 21:30:38.063 Status: MQTT: Subscribed
2020-04-24 21:30:38.172 Status: (zigbee2mqtt) Entering work loop.
2020-04-24 21:30:38.173 Status: (zigbee2mqtt) Initialized version 0.0.19
2020-04-24 21:30:38.727 Status: (e) Entering work loop.
2020-04-24 21:30:38.728 Status: (e) Initialized version 0.3.0, author 'fisher'
2020-04-24 21:30:39.159 (zigbee2mqtt) Connected to MQTT Server: 127.0.0.1:1883
2020-04-24 21:30:39.261 (zigbee2mqtt) Zigbee2mqtt bridge is offline
2020-04-24 21:30:39.261 (zigbee2mqtt) Joining new devices is disabled on the zigbee bridge
2020-04-24 21:30:39.107 Error: (e) API rate limit exceeded
2020-04-24 21:30:39.107 Error: (e) Next pool attempt at: 2020-04-24 22:30:39.107500
2020-04-24 21:31:22.416 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=23.13
2020-04-24 21:31:47.456 Status: Incoming connection from: 192.168.0.14
2020-04-24 21:31:52.458 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.76
2020-04-24 21:32:22.444 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=21.07
2020-04-24 21:32:52.440 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.30
2020-04-24 21:33:08.962 Sunrise: 05:35:00 SunSet: 19:55:00
2020-04-24 21:33:08.962 Day length: 14:21:00 Sun at south: 12:45:00
2020-04-24 21:33:08.962 Civil twilight start: 04:59:00 Civil twilight end: 20:31:00
2020-04-24 21:33:08.962 Nautical twilight start: 04:14:00 Nautical twilight end: 21:16:00
2020-04-24 21:33:08.962 Astronomical twilight start: 03:22:00 Astronomical twilight end: 22:08:00
2020-04-24 21:33:08.897 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
2020-04-24 21:33:08.899 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
2020-04-24 21:33:08.900 Status: Startup Path: /home/pi/domoticz/
2020-04-24 21:33:09.054 Active notification Subsystems: (0/13)
2020-04-24 21:33:09.069 Starting shared server on: :::6144
2020-04-24 21:33:09.044 Status: PluginSystem: Started, Python version '3.7.3'.
2020-04-24 21:33:09.056 Status: WebServer(HTTP) started on address: :: with port 1600
2020-04-24 21:33:09.065 Status: WebServer(SSL) started on address: :: with port 443
2020-04-24 21:33:09.069 Status: TCPServer: shared server started...
2020-04-24 21:33:09.070 Status: RxQueue: queue worker started...
2020-04-24 21:33:09.141 Status: Incoming connection from: 192.168.0.21
2020-04-24 21:33:11.071 Status: Hardware Monitor: Started
2020-04-24 21:33:11.082 Status: (zigbee2mqtt) Started.
2020-04-24 21:33:11.082 Status: (e) Started.
2020-04-24 21:33:11.083 Status: EventSystem: reset all events...
2020-04-24 21:33:11.083 Status: EventSystem: reset all device statuses...
2020-04-24 21:33:11.180 Status: Python EventSystem: Initalizing event module.
2020-04-24 21:33:11.181 Status: EventSystem: Started
2020-04-24 21:33:11.181 Status: EventSystem: Queue thread started...
2020-04-24 21:33:11.464 Status: PluginSystem: Entering work loop.
2020-04-24 21:33:11.801 Status: (zigbee2mqtt) Entering work loop.
2020-04-24 21:33:11.802 Status: (zigbee2mqtt) Initialized version 0.0.19
2020-04-24 21:33:12.123 (e) Debug logging mask set to: NONE
2020-04-24 21:33:12.083 Status: MQTT: Connecting to localhost:1883
2020-04-24 21:33:12.116 Status: (e) Entering work loop.
2020-04-24 21:33:12.116 Status: (e) Initialized version 0.3.0, author 'fisher'
2020-04-24 21:33:46.554 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.78
2020-04-24 21:34:13.077 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
2020-04-24 21:34:13.077 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
2020-04-24 21:34:13.077 Status: Startup Path: /home/pi/domoticz/
2020-04-24 21:34:14.092 Sunrise: 05:35:00 SunSet: 19:55:00
2020-04-24 21:34:14.092 Day length: 14:21:00 Sun at south: 12:45:00
2020-04-24 21:34:14.092 Civil twilight start: 04:59:00 Civil twilight end: 20:31:00
2020-04-24 21:34:14.092 Nautical twilight start: 04:14:00 Nautical twilight end: 21:16:00
2020-04-24 21:34:14.092 Astronomical twilight start: 03:22:00 Astronomical twilight end: 22:08:00
2020-04-24 21:34:14.186 Active notification Subsystems: (0/13)
2020-04-24 21:34:14.198 Starting shared server on: :::6144
2020-04-24 21:34:14.176 Status: PluginSystem: Started, Python version '3.7.3'.
2020-04-24 21:34:14.188 Status: WebServer(HTTP) started on address: :: with port 1600
2020-04-24 21:34:14.194 Status: WebServer(SSL) started on address: :: with port 443
2020-04-24 21:34:14.199 Status: RxQueue: queue worker started...
2020-04-24 21:34:14.198 Status: TCPServer: shared server started...
2020-04-24 21:34:14.281 Status: Incoming connection from: 192.168.0.21
2020-04-24 21:34:16.200 Status: Hardware Monitor: Started
2020-04-24 21:34:16.211 Status: (zigbee2mqtt) Started.
2020-04-24 21:34:16.211 Status: (e) Started.
2020-04-24 21:34:16.211 Status: EventSystem: reset all events...
2020-04-24 21:34:16.212 Status: EventSystem: reset all device statuses...
2020-04-24 21:34:16.306 Status: Python EventSystem: Initalizing event module.
2020-04-24 21:34:16.307 Status: EventSystem: Started
2020-04-24 21:34:16.307 Status: EventSystem: Queue thread started...
2020-04-24 21:34:16.594 Status: PluginSystem: Entering work loop.
2020-04-24 21:34:16.944 Status: (zigbee2mqtt) Entering work loop.
2020-04-24 21:34:16.944 Status: (zigbee2mqtt) Initialized version 0.0.19
2020-04-24 21:34:17.240 (e) Debug logging mask set to: NONE
2020-04-24 21:34:17.608 (zigbee2mqtt) Connected to MQTT Server: 127.0.0.1:1883
2020-04-24 21:34:17.710 (zigbee2mqtt) Zigbee2mqtt bridge is offline
2020-04-24 21:34:17.710 (zigbee2mqtt) Joining new devices is disabled on the zigbee bridge
2020-04-24 21:34:17.231 Status: MQTT: Connecting to localhost:1883
2020-04-24 21:34:17.234 Status: (e) Entering work loop.
2020-04-24 21:34:17.234 Status: (e) Initialized version 0.3.0, author 'fisher'
2020-04-24 21:34:17.333 Status: MQTT: connected to: localhost:1883
2020-04-24 21:34:17.433 Status: MQTT: Subscribed
2020-04-24 21:34:17.556 Error: (e) API rate limit exceeded
2020-04-24 21:34:17.556 Error: (e) Next pool attempt at: 2020-04-24 22:34:17.556536
2020-04-24 21:34:51.687 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=25.47
 
Dodane : 24/04/2020 8:44 pm
isom
 isom
(@isom)
Wpisów: 5079
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

@bernard i wszystko jasne. Tak jak pisałem monit musi mieć powód i Ty mu go zafundowałeś 🙂 teraz czas to naprawić . Zalogujesz się przez terminal i wpiszesz 

sudo nano /etc/monit/monitrc

odszukasz miejsca jak na foto poniżej i zmienisz port ( zaznaczyłem na żółto ) na swój 

monit
potem zapiszesz zmiany i wyjdziesz z edytaora  Ctrl +x
i potem jeszcze wklej takie dwie linijki 
sudo service monit reload
sudo monit start all
 
Dodane : 24/04/2020 8:57 pm
(@bernard)
Wpisów: 5
Bywalec
Autor tematu
 

Operacja przeprowadzona  pacjent w stanie testu .Dziękuję sprawdzam .

 
Dodane : 24/04/2020 9:05 pm
isom
 isom
(@isom)
Wpisów: 5079
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

Testy są zbędne , monit szukał domoticz na starym porcie i jak nie znalazł to po 5 minutach restartował system . Pozdrawiam 

 
Dodane : 24/04/2020 9:14 pm
(@bernard)
Wpisów: 5
Bywalec
Autor tematu
 

Widzę że pacjent będzie zdrów zero restartów. 

Elektronika  to moje hobby kiedyś bawiłem się  z atmegą 8  bascom termometry pomiar napięcia  itd ,później ..... różne takie aż wpadł mi w ręce esp8266 i tu bajka jak pojawił się program esp easy   + wyświetlacz itd no to już było to . No cóż ale są braki w Linuxie . Dobrze że są ludzie którzy dzielą się swoją wiedzą . Dziękuję  System działa .hurrrraaaaa

Dla ścisłości  jak mówią ucz się ucz tylko że jak się ma 57 wiosen to już nie tak łatwo .

2020-04-24 22:06:59.403 Status: Incoming connection from: 192.168.0.14
2020-04-24 22:07:13.889 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=22.69
2020-04-24 22:07:43.777 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=22.78
2020-04-24 22:07:50.893 Status: Incoming connection from: 127.0.0.1
2020-04-24 22:08:14.088 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=21.67
2020-04-24 22:08:44.097 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=21.47
2020-04-24 22:09:13.959 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.69
2020-04-24 22:09:44.015 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=25.26
2020-04-24 22:10:14.019 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=25.56
2020-04-24 22:10:43.869 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=23.61
2020-04-24 22:11:13.902 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=20.27
2020-04-24 22:11:43.935 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=25.94
2020-04-24 22:12:13.733 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=21.07
2020-04-24 22:12:43.772 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.89
2020-04-24 22:13:13.804 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=22.70
2020-04-24 22:13:43.781 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=23.05
2020-04-24 22:14:13.805 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.12
2020-04-24 22:14:43.812 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=21.38
2020-04-24 22:15:13.837 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=16.68
2020-04-24 22:15:43.867 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=23.99
2020-04-24 22:16:13.903 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.41
2020-04-24 22:16:43.878 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.38
2020-04-24 22:17:14.280 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=19.80
2020-04-24 22:17:44.281 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=25.45
2020-04-24 22:18:14.102 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=19.82
2020-04-24 22:18:44.255 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.63
2020-04-24 22:19:14.280 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=26.07
2020-04-24 22:19:44.050 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.79
2020-04-24 22:20:14.075 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=22.02
2020-04-24 22:20:44.104 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.89
2020-04-24 22:21:14.133 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=22.89
2020-04-24 22:21:44.156 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.28
2020-04-24 22:22:14.021 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=24.51
2020-04-24 22:22:44.502 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=21.82
2020-04-24 22:23:14.487 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=25.22
2020-04-24 22:23:44.222 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=22.80
2020-04-24 22:24:14.258 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=21.93
 
Dodane : 24/04/2020 9:34 pm
isom
 isom
(@isom)
Wpisów: 5079
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

Widze spore użycie Procka , wyłącz zigbee jak nie korzystasz to spadnie do kilku % 

sudo systemctl stop zigbee2mqtt
 
Dodane : 24/04/2020 9:46 pm
(@bernard)
Wpisów: 5
Bywalec
Autor tematu
 
I tak sie stało  skok duży . Dziękuje
2020-04-24 22:49:45.401 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=2.24
2020-04-24 22:50:14.986 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=2.89
2020-04-24 22:50:44.954 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=1.94
2020-04-24 22:51:14.930 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=1.77
 
Dodane : 24/04/2020 9:52 pm
isom reacted
Udostępnij: