MQTT i problem z Sh...
 
Powiadomienia
Wyczyść wszystko

UWAGAStrona oraz Forum Smart'ny Dom nie będzie dostępne 23 Grudnia 2024 ze względu na przenoszenie serwisu na mocniejszą maszynę.

W tym czasie polecam poświęcenie swojego czasu na pomoc partnerowi w przygotowaniu udanych Świąt 😉

Za niedogodności z góry przepraszam, admin

Kontakt

Smarticz MQTT i problem z Shelly

23 Wpisów
3 Użytkownicy
2 Reactions
2,763 Wyświetleń
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

Wgrany Smarticz + plugin Shelly_MQTT.git + ustawiony user i pass (wszędzie to samo), co robię źle?

Screenshot 2021 11 10 at 23 20 23 Shelly Switch
Screenshot 2021 11 10 at 23 21 25 Domoticz
Screenshot 2021 11 10 at 23 22 04 Domoticz

 

 
Dodane : 10/11/2021 11:23 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

Dziękuję, ruszyło po tym.

sudo nano /etc/mosquitto/mosquitto.conf

na końcu tego pliku wklej 

listener 1883

allow_anonymous true

zapisz i zrób restart usługi 

sudo systemctl restart mosquitto

potem sprawdź wtyczkę na adresie maliny

 
Dodane : 11/11/2021 10:18 am
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 
Na ekranie jakby wszystko ruszyło, pojawiły się przełączniki, niestety realnie brak reakcji (rolety stoją).
 
Status: MQTT: MQTT: Connecting to 192.168.1.200:1883
Status: MQTT: MQTT: re-connected to: 192.168.1.200:1883
Status: MQTT: MQTT: Subscribed
Status: User: Admin (IP: 192.168.1.103) initiated a switch command (44/ShellyR - RoletaMalaDolna_201-0-roller/On)
Status: User: Admin (IP: 192.168.1.103) initiated a switch command (44/ShellyR - RoletaMalaDolna_201-0-roller/Off)
 
Po restarcie w logach Domoticza
Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
 
conf.d - pusty

tak wygląda - mosquitto.conf
pid_file /run/mosquitto/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
listener 1883
allow_anonymous true

 
Dodane : 11/11/2021 11:48 am
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

Niestety MQTT mi nie działa (Raspberry Pi 4 8GB + SmarticzN), a przełączniki aktywują się tylko przy wyłączeniu haseł w mosquitto.conf

Screenshot 2021 11 11 at 19 08 35 Domoticz

W logach jest ślad po "uruchomieniu" rolety
Admin (IP: 192.168.1.103) initiated a switch command (11/ShellyP - RoletaMalaDolna_201/Off)
niestety tylko wirtualnie.

 
Dodane : 11/11/2021 7:17 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

Gdyby nie działał broker mqtt to wtyczka nic by nie dodała do domoticz, bo niby skąd?, skoro shelly korzysta z mqtt. Podajesz tak szczątkowe informacje, jak w pierwszym poście gdzie musiałem się domyślać że nie działa broker .  

 
Dodane : 11/11/2021 7:25 pm
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

@isom Wgrałem od nowa Smarticza, poustawiałem stałe IP, ustawienie haseł nic nie dało więc dałem

allow_anonymous true
listener 1883

pojawiły się przełączniki.

MQTT Client Gateway with LAN interface i Shelly MQTT mają to samo IP (Raspberry) oraz port 1883.

mosquitto.service - Mosquitto MQTT Broker
Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset
Active: active (running) since Thu 2021-11-11 18:49:14 CET; 51min ago
Docs: man:mosquitto.conf(5)
man:mosquitto(8)
Process: 587 ExecStartPre=/bin/mkdir -m 740 -p /var/log/mosquitto (code=exited
Process: 616 ExecStartPre=/bin/chown mosquitto /var/log/mosquitto (code=exited
Process: 618 ExecStartPre=/bin/mkdir -m 740 -p /run/mosquitto (code=exited, st
Process: 622 ExecStartPre=/bin/chown mosquitto /run/mosquitto (code=exited, st
Main PID: 623 (mosquitto)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/mosquitto.service
└─623 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf

Nov 11 18:49:14 smarticz systemd[1]: Starting Mosquitto MQTT Broker...
Nov 11 18:49:14 smarticz systemd[1]: Started Mosquitto MQTT Broker.

 

Jeśli z poziomu przełącznika (jego IP) zmienię stan, zmienia się również ikona w Domoticzu.

 
Dodane : 11/11/2021 7:42 pm
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

Niestety wgrałem do Wemos'a ESP Easy i w Domoticzu też nie działa

controllers: Domoticz | IP i port mojego Domoticza > enabled

hardware: I2C GPIO → SCL: zmienione na GPIO-16 (na tym standardowym GPIO-5 mam wlutowany przekaźnik)

devices: GPIO-5 | switch | Send to Controller: IDX z Domoticza

W ESP Easy po Command gpio,5 (0 lub 1) przekaźnik działa, w Devices stan też się zmienia

@isom masz jakieś wskazówki?

 
Dodane : 12/11/2021 1:29 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

@artitu espeasy do poprawnej pracy przez mqtt z domoticz wymaga domoticz helper . Z tego co widzę z wcześniejszego loga to broker mqtt ma się dobrze , jakieś logi z wtyczki shelly poproszę bo nic nie wiadomo co się tam dzieje. Tego wemosa sprawdz na tasmocie , jest łatwiej . 

 
Dodane : 12/11/2021 1:55 pm
Artitu reacted
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

Znalazłem mosquitto, gdzie znajdę logi Shelly?
Termometry (DS18b20) na Wemosie z ESP Easy i Domoticz chodzą bezproblemowo, myślałem że przekaźnik też zadziała.

mosquitto version 1.5.7 starting
1571663656: Config loaded from /etc/mosquitto/mosquitto.conf.
1571663656: Opening ipv4 listen socket on port 1883.
1571663656: Opening ipv6 listen socket on port 1883.
1571663853: mosquitto version 1.5.7 terminating
1571663907: mosquitto version 1.5.7 starting
1571663907: Config loaded from /etc/mosquitto/mosquitto.conf.
1571663907: Opening ipv4 listen socket on port 1883.
1571663907: Opening ipv6 listen socket on port 1883.
1571664050: New connection from 192.168.0.119 on port 1883.
1571664050: New client connected from 192.168.0.119 as wemos (c1, k30, u'admin').
1571664111: Client wemos disconnected.
1571664119: New connection from 192.168.0.119 on port 1883.
1571664119: New client connected from 192.168.0.119 as wemos (c1, k30, u'admin').
1571664182: New connection from ::1 on port 1883.
1571664182: New client connected from ::1 as mosq_Isomt8YrkF=5A9Ri6G (c1, k60, u'admin').
1571664265: Client wemos has exceeded timeout, disconnecting.
1571664265: Socket error on client wemos, disconnecting.
1571665707: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571667508: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571669309: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571670880: mosquitto version 1.5.7 terminating
1571670896: mosquitto version 1.5.7 starting
1571670896: Config loaded from /etc/mosquitto/mosquitto.conf.
1571670896: Opening ipv4 listen socket on port 1883.
1571670896: Opening ipv6 listen socket on port 1883.
1571670901: New connection from ::1 on port 1883.
1571670901: New client connected from ::1 as mosq_gqkachG=p>>[WbU7co (c1, k60, u'admin').
1571672743: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571673729: mosquitto version 1.5.7 terminating
1571673749: mosquitto version 1.5.7 starting
1571673749: Config loaded from /etc/mosquitto/mosquitto.conf.
1571673749: Opening ipv4 listen socket on port 1883.
1571673749: Opening ipv6 listen socket on port 1883.
1571673753: New connection from ::1 on port 1883.
1571673753: New client connected from ::1 as mosq_ZMmh?o:t3cYgGa]xO\ (c1, k60, u'admin').
1571675085: mosquitto version 1.5.7 terminating
1571675103: mosquitto version 1.5.7 starting
1571675103: Config loaded from /etc/mosquitto/mosquitto.conf.
1571675103: Opening ipv4 listen socket on port 1883.
1571675103: Opening ipv6 listen socket on port 1883.
1571675108: New connection from ::1 on port 1883.
1571675108: New client connected from ::1 as mosq_HAkn8;_c?R_rsYBj1] (c1, k60, u'admin').
1571676378: mosquitto version 1.5.7 terminating
1571676396: mosquitto version 1.5.7 starting
1571676396: Config loaded from /etc/mosquitto/mosquitto.conf.
1571676396: Opening ipv4 listen socket on port 1883.
1571676396: Opening ipv6 listen socket on port 1883.
1571676401: New connection from ::1 on port 1883.
1571676401: New client connected from ::1 as mosq_DPkUd7>49t0LshPVE1 (c1, k60, u'admin').
1571678285: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571678621: mosquitto version 1.5.7 terminating
1571678636: mosquitto version 1.5.7 starting
1571678636: Config loaded from /etc/mosquitto/mosquitto.conf.
1571678636: Opening ipv4 listen socket on port 1883.
1571678636: Opening ipv6 listen socket on port 1883.
1571678642: New connection from ::1 on port 1883.
1571678642: New client connected from ::1 as mosq_Y83GWLF5@u4os9asT: (c1, k60, u'admin').
1571680484: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571682285: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571682298: mosquitto version 1.5.7 terminating
1571682314: mosquitto version 1.5.7 starting
1571682314: Config loaded from /etc/mosquitto/mosquitto.conf.
1571682314: Opening ipv4 listen socket on port 1883.
1571682314: Opening ipv6 listen socket on port 1883.
1571682320: New connection from ::1 on port 1883.
1571682320: New client connected from ::1 as mosq_7Kxa=j4073oWq22JLa (c1, k60, u'admin').
1571684163: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571685964: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571687765: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1571688340: mosquitto version 1.5.7 terminating
1571688357: mosquitto version 1.5.7 starting
1571688357: Config loaded from /etc/mosquitto/mosquitto.conf.
1571688357: Opening ipv4 listen socket on port 1883.
1571688357: Opening ipv6 listen socket on port 1883.
1571688363: New connection from ::1 on port 1883.
1571688363: New client connected from ::1 as mosq_Y6E4uc<AUx[7TuN<]v (c1, k60, u'admin').
1571689792: Socket error on client mosq_Y6E4uc<AUx[7TuN<]v, disconnecting.

 
Dodane : 12/11/2021 2:42 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

@artitu włącz debug w ustawieniach wtyczki ( ostatnia pozycja do zmiany masz  tam  false) i w logach domoticz pojawią się wszystkie logi wtyczki

 
Dodane : 12/11/2021 5:56 pm
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

@isom o to Ci chodzi?

The domoticz logfile location and other settings are defined in /etc/init.d/domoticz.sh the relevant settings are in set to the DAEMON_ARGS var.

with an editor of choice

DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log" # or any other OS file
#DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error, debug" # debug disabled for now
DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error" # these loglevels will make it to the logfile
#DAEMON_ARGS="$DAEMON_ARGS -debuglevel normal,hardware,received,webserver,eventsystem,python,thread_id"

sudo systemctl daemon-reload
sudo service domoticz stop
sudo service domoticz start
sudo tail -f /var/log/domoticz.log

The system and other logfiles can be found with sudo ls -lrt /var/log/*log

 
Dodane : 12/11/2021 9:34 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

@artitu nie . Na prawej fotce którą wstawiłeś masz ustawienia pluginu , który nazwałeś roleta mała czyli jak rozumiem będziesz miał w systemie tylko jeden moduł shelly bo inaczej wszystkie będą należały do rolety małej , ale mniejsza z tym , ostatnia pozycja ustawień to debug , który jest na false i trzeba przełączyć na true , wtedy pojawią się logi w domoticz z tej wtyczki 

 
Dodane : 12/11/2021 10:58 pm
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 
Wemos na Tasmocie poszedł bez problemów.
Log od startu Domoticza.
 
2021-11-12 23:43:06.760 Status: Domoticz V2021.1 (c)2012-2021 GizMoCuz
2021-11-12 23:43:06.760 Status: Build Hash: 8547c5b7e, Date: 2021-04-17 17:29:11
2021-11-12 23:43:06.760 Status: Startup Path: /home/pi/domoticz/
2021-11-12 23:43:06.760 Status: Startup delay... waiting 15 seconds...
2021-11-12 23:43:21.878 Sunrise: 07:04:00 SunSet: 16:05:00
2021-11-12 23:43:21.878 Day length: 09:01:00 Sun at south: 11:34:00
2021-11-12 23:43:21.878 Civil twilight start: 06:28:00 Civil twilight end: 16:41:00
2021-11-12 23:43:21.878 Nautical twilight start: 05:47:00 Nautical twilight end: 17:22:00
2021-11-12 23:43:21.878 Astronomical twilight start: 05:08:00 Astronomical twilight end: 18:01:00
2021-11-12 23:43:22.046 Active notification Subsystems: (0/13)
2021-11-12 23:43:22.110 Starting shared server on: :::6144
2021-11-12 23:43:22.036 Status: PluginSystem: Started, Python version '3.7.3'.
2021-11-12 23:43:22.056 Status: WebServer(HTTP) started on address: :: with port 8082
2021-11-12 23:43:22.066 Status: WebServer(SSL) started on address: :: with port 443
2021-11-12 23:43:22.111 Status: TCPServer: shared server started...
2021-11-12 23:43:22.111 Status: RxQueue: queue worker started...
2021-11-12 23:43:22.157 Status: Incoming connection from: 192.168.1.205
2021-11-12 23:43:24.154 ShellyP hardware started.
2021-11-12 23:43:24.155 ShellyP hardware started.
2021-11-12 23:43:24.318 ShellyP: (ShellyP) New hardware creation enabled
2021-11-12 23:43:24.410 ShellyP: (ShellyP) Debug logging mask set to: PYTHON
2021-11-12 23:43:24.410 ShellyP: (ShellyP) MqttClient::__init__
2021-11-12 23:43:24.410 ShellyP: (ShellyP) MqttClient::open
2021-11-12 23:43:24.410 ShellyP: (ShellyP) New hardware creation enabled
2021-11-12 23:43:24.461 ShellyP: (ShellyP) Connected to MQTT Server: 192.168.1.200:1883
2021-11-12 23:43:24.461 ShellyP: (ShellyP) MQTT CLIENT ID: 'Domoticz_1636757004_79127104206'
2021-11-12 23:43:24.461 ShellyP: (ShellyP) Connected to MQTT Server: 192.168.1.200:1883
2021-11-12 23:43:24.511 ShellyP: (ShellyP) MqttClient::subscribe
2021-11-12 23:43:24.561 ShellyP: (ShellyP) onMQTTSubscribed
2021-11-12 23:43:24.132 Status: RPi: System: Raspberry Pi
2021-11-12 23:43:24.153 Status: RPi: Hardware Monitor: Started (OStype Raspberry Pi Linux)
2021-11-12 23:43:24.154 Status: ShellyP: (ShellyP) Entering work loop.
2021-11-12 23:43:24.154 Status: ShellyP: (ShellyP) Started.
2021-11-12 23:43:24.155 Status: ShellyP: (ShellyP) Entering work loop.
2021-11-12 23:43:24.155 Status: ShellyP: (ShellyP) Started.
2021-11-12 23:43:24.155 Status: NotificationSystem: thread started...
2021-11-12 23:43:24.159 Status: EventSystem: reset all events...
2021-11-12 23:43:24.164 Status: EventSystem: reset all device statuses...
2021-11-12 23:43:24.313 Status: ShellyP: (ShellyP) Initialized version 0.6.0
2021-11-12 23:43:24.348 Status: Python EventSystem: Initalizing event module.
2021-11-12 23:43:24.349 Status: EventSystem: Started
2021-11-12 23:43:24.349 Status: EventSystem: Queue thread started...
2021-11-12 23:43:24.394 Status: PluginSystem: 2 plugins started.
2021-11-12 23:43:24.408 Status: ShellyP: (ShellyP) Initialized version 0.6.0
2021-11-12 23:43:25.154 Status: MQTT: MQTT: Connecting to 192.168.1.200:1883
2021-11-12 23:43:25.356 Status: MQTT: MQTT: connected to: 192.168.1.200:1883
2021-11-12 23:43:25.556 Status: MQTT: MQTT: Subscribed
2021-11-12 23:43:26.183 RPi: Temp (Internal Temperature)
2021-11-12 23:43:26.545 InfluxLink: value Temperature,idx=2,name=Internal-Temperature value=49.1
2021-11-12 23:43:43.155 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:43:43.156 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:43:48.330 PrzekaznikESP: Light/Switch (PrzekaznikESP)
2021-11-12 23:43:48.320 Status: User: Admin (IP: 192.168.1.103) initiated a switch command (27/PrzekaznikESP/On)
2021-11-12 23:43:50.063 PrzekaznikESP: Light/Switch (PrzekaznikESP)
2021-11-12 23:43:50.059 Status: User: Admin (IP: 192.168.1.103) initiated a switch command (27/PrzekaznikESP/Off)
2021-11-12 23:43:51.389 PrzekaznikESP: Light/Switch (PrzekaznikESP)
2021-11-12 23:43:51.804 RPi: General/Custom Sensor (Arm Clock Speed)
2021-11-12 23:43:51.830 RPi: General/Custom Sensor (V3D Clock Speed)
2021-11-12 23:43:51.842 RPi: General/Custom Sensor (Core Clock Speed)
2021-11-12 23:43:51.387 Status: User: Admin (IP: 192.168.1.103) initiated a switch command (27/PrzekaznikESP/On)
2021-11-12 23:43:52.328 ShellyP: (ShellyP) MQTT message: shellies/ SwiatlaZewnatrz/relay/0 off
2021-11-12 23:43:52.328 ShellyP: (ShellyP) >>> Looking for device: SwiatlaZewnatrz-0
2021-11-12 23:43:52.328 ShellyP: (ShellyP) MQTT message: shellies/ SwiatlaZewnatrz/input/0 0
2021-11-12 23:43:52.329 ShellyP: (ShellyP) >>> Looking for device: SwiatlaZewnatrz-0-input
2021-11-12 23:43:52.394 PrzekaznikESP: Light/Switch (PrzekaznikESP)
2021-11-12 23:43:52.389 Status: User: Admin (IP: 192.168.1.103) initiated a switch command (27/PrzekaznikESP/Off)
2021-11-12 23:43:53.080 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:43:53.080 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:43:53.933 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0 stop
2021-11-12 23:43:53.933 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-roller
2021-11-12 23:43:53.934 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/pos 0
2021-11-12 23:43:53.934 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-pos
2021-11-12 23:43:53.934 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/stop_reason normal
2021-11-12 23:43:53.934 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-roller
2021-11-12 23:43:53.935 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/power 0.0
2021-11-12 23:43:53.935 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-energy
2021-11-12 23:43:53.935 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/relay/power 0.0
2021-11-12 23:43:53.935 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-energy
2021-11-12 23:43:53.935 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/energy 155
2021-11-12 23:43:53.936 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-energy
2021-11-12 23:43:53.936 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/relay/energy 155
2021-11-12 23:43:53.936 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-energy
2021-11-12 23:43:53.936 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/input/1 0
2021-11-12 23:43:53.936 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-1-input
2021-11-12 23:43:53.936 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/input/0 0
2021-11-12 23:43:53.937 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-input
2021-11-12 23:43:53.937 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature 42.51
2021-11-12 23:43:53.937 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-temp
2021-11-12 23:43:53.945 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature_f 108.51
2021-11-12 23:43:53.946 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/overtemperature 0
2021-11-12 23:43:53.946 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature_status Normal
2021-11-12 23:43:53.946 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/voltage 245.58
2021-11-12 23:44:01.059 ShellyP: (ShellyP) Command: Set Level (38) Color:
2021-11-12 23:44:01.846 RPi: General/Percentage (Memory Usage)
2021-11-12 23:44:01.853 RPi: General/Custom Sensor (Process Usage)
2021-11-12 23:44:01.041 Status: User: Admin (IP: 192.168.1.103) initiated a switch command (30/ShellyP - RoletaMalaDolna_201-0-pos/Set Level)
2021-11-12 23:44:02.312 Status: User: Admin (IP: 192.168.1.103) initiated a switch command (12/ShellyP - RoletaMalaDolna_201/Set Level)
2021-11-12 23:44:03.063 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:44:03.063 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:44:11.871 RPi: General/Percentage (HDD /boot)
2021-11-12 23:44:11.879 RPi: General/Percentage (HDD /)
2021-11-12 23:44:13.084 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:44:13.084 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:44:21.881 RPi: General/Percentage (CPU_Usage)
2021-11-12 23:44:21.903 RPi: General/Custom Sensor (Arm Clock Speed)
2021-11-12 23:44:21.922 RPi: General/Custom Sensor (V3D Clock Speed)
2021-11-12 23:44:21.937 RPi: General/Custom Sensor (Core Clock Speed)
2021-11-12 23:44:22.166 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=3.58
2021-11-12 23:44:22.309 ShellyP: (ShellyP) MQTT message: shellies/ SwiatlaZewnatrz/relay/0 off
2021-11-12 23:44:22.309 ShellyP: (ShellyP) >>> Looking for device: SwiatlaZewnatrz-0
2021-11-12 23:44:22.309 ShellyP: (ShellyP) MQTT message: shellies/ SwiatlaZewnatrz/input/0 0
2021-11-12 23:44:22.309 ShellyP: (ShellyP) >>> Looking for device: SwiatlaZewnatrz-0-input
2021-11-12 23:44:23.061 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:44:23.061 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:44:23.964 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0 stop
2021-11-12 23:44:23.964 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-roller
2021-11-12 23:44:23.964 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/pos 0
2021-11-12 23:44:23.964 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-pos
2021-11-12 23:44:23.964 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/stop_reason normal
2021-11-12 23:44:23.965 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-roller
2021-11-12 23:44:23.965 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/power 0.0
2021-11-12 23:44:23.965 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-energy
2021-11-12 23:44:23.965 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/relay/power 0.0
2021-11-12 23:44:23.965 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-energy
2021-11-12 23:44:23.965 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/energy 155
2021-11-12 23:44:23.966 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-energy
2021-11-12 23:44:23.975 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/relay/energy 155
2021-11-12 23:44:23.976 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-energy
2021-11-12 23:44:23.976 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/input/1 0
2021-11-12 23:44:23.976 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-1-input
2021-11-12 23:44:23.976 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/input/0 0
2021-11-12 23:44:23.976 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-input
2021-11-12 23:44:23.976 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature 42.44
2021-11-12 23:44:23.977 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-temp
2021-11-12 23:44:23.983 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature_f 108.38
2021-11-12 23:44:23.984 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/overtemperature 0
2021-11-12 23:44:23.984 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature_status Normal
2021-11-12 23:44:23.984 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/voltage 245.42
2021-11-12 23:44:33.051 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:44:33.051 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:44:43.074 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:44:43.074 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:44:43.591 Status: Incoming connection from: 127.0.0.1
2021-11-12 23:44:51.957 RPi: Temp (Internal Temperature)
2021-11-12 23:44:51.963 RPi: General/Percentage (CPU_Usage)
2021-11-12 23:44:51.970 RPi: General/Custom Sensor (Arm Clock Speed)
2021-11-12 23:44:51.984 RPi: General/Custom Sensor (V3D Clock Speed)
2021-11-12 23:44:51.992 RPi: General/Custom Sensor (Core Clock Speed)
2021-11-12 23:44:52.187 InfluxLink: value Temperature,idx=2,name=Internal-Temperature value=48.7
2021-11-12 23:44:52.187 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=3.99
2021-11-12 23:44:52.345 ShellyP: (ShellyP) MQTT message: shellies/ SwiatlaZewnatrz/relay/0 off
2021-11-12 23:44:52.345 ShellyP: (ShellyP) >>> Looking for device: SwiatlaZewnatrz-0
2021-11-12 23:44:52.345 ShellyP: (ShellyP) MQTT message: shellies/ SwiatlaZewnatrz/input/0 0
2021-11-12 23:44:52.345 ShellyP: (ShellyP) >>> Looking for device: SwiatlaZewnatrz-0-input
2021-11-12 23:44:53.097 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:44:53.097 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:44:53.949 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0 stop
2021-11-12 23:44:53.949 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-roller
2021-11-12 23:44:53.949 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/pos 0
2021-11-12 23:44:53.949 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-pos
2021-11-12 23:44:53.949 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/stop_reason normal
2021-11-12 23:44:53.949 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-roller
2021-11-12 23:44:53.949 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/power 0.0
2021-11-12 23:44:53.950 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-energy
2021-11-12 23:44:54.000 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/relay/power 0.0
2021-11-12 23:44:54.000 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-energy
2021-11-12 23:44:54.000 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/energy 155
2021-11-12 23:44:54.001 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-energy
2021-11-12 23:44:54.001 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/relay/energy 155
2021-11-12 23:44:54.001 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-energy
2021-11-12 23:44:54.001 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/input/1 0
2021-11-12 23:44:54.001 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-1-input
2021-11-12 23:44:54.001 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/input/0 0
2021-11-12 23:44:54.001 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-input
2021-11-12 23:44:54.001 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature 42.36
2021-11-12 23:44:54.001 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-temp
2021-11-12 23:44:54.007 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature_f 108.26
2021-11-12 23:44:54.007 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/overtemperature 0
2021-11-12 23:44:54.007 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature_status Normal
2021-11-12 23:44:54.008 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/voltage 245.42
2021-11-12 23:45:03.083 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:45:03.083 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:45:13.051 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:45:13.051 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:45:22.007 RPi: General/Percentage (CPU_Usage)
2021-11-12 23:45:22.030 RPi: General/Custom Sensor (Arm Clock Speed)
2021-11-12 23:45:22.052 RPi: General/Custom Sensor (V3D Clock Speed)
2021-11-12 23:45:22.068 RPi: General/Custom Sensor (Core Clock Speed)
2021-11-12 23:45:22.077 RPi: General/Percentage (Memory Usage)
2021-11-12 23:45:22.086 RPi: General/Custom Sensor (Process Usage)
2021-11-12 23:45:22.203 InfluxLink: value Percentage,idx=1,name=CPU_Usage value=3.94
2021-11-12 23:45:22.321 ShellyP: (ShellyP) MQTT message: shellies/ SwiatlaZewnatrz/relay/0 off
2021-11-12 23:45:22.321 ShellyP: (ShellyP) >>> Looking for device: SwiatlaZewnatrz-0
2021-11-12 23:45:22.322 ShellyP: (ShellyP) MQTT message: shellies/ SwiatlaZewnatrz/input/0 0
2021-11-12 23:45:22.322 ShellyP: (ShellyP) >>> Looking for device: SwiatlaZewnatrz-0-input
2021-11-12 23:45:23.073 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:45:23.074 ShellyP: (ShellyP) MqttClient::ping
2021-11-12 23:45:23.976 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0 stop
2021-11-12 23:45:23.976 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-roller
2021-11-12 23:45:23.977 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/pos 0
2021-11-12 23:45:23.977 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-pos
2021-11-12 23:45:23.977 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/stop_reason normal
2021-11-12 23:45:23.977 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-roller
2021-11-12 23:45:23.977 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/power 0.0
2021-11-12 23:45:23.977 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-energy
2021-11-12 23:45:23.978 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/relay/power 0.0
2021-11-12 23:45:23.978 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-energy
2021-11-12 23:45:23.978 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/roller/0/energy 155
2021-11-12 23:45:23.978 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-energy
2021-11-12 23:45:23.978 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/relay/energy 155
2021-11-12 23:45:23.978 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-energy
2021-11-12 23:45:23.979 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/input/1 0
2021-11-12 23:45:23.979 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-1-input
2021-11-12 23:45:23.979 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/input/0 0
2021-11-12 23:45:23.979 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-0-input
2021-11-12 23:45:23.979 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature 42.36
2021-11-12 23:45:23.979 ShellyP: (ShellyP) >>> Looking for device: RoletaMalaDolna_201-temp
2021-11-12 23:45:23.988 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature_f 108.26
2021-11-12 23:45:23.988 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/overtemperature 0
2021-11-12 23:45:23.988 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/temperature_status Normal
2021-11-12 23:45:23.988 ShellyP: (ShellyP) MQTT message: shellies/ RoletaMalaDolna_201/voltage 245.26
2021-11-12 23:45:33.057 ShellyP: (ShellyP) Heartbeating...
2021-11-12 23:45:33.057 ShellyP: (ShellyP) MqttClient::ping
 
Dodane : 12/11/2021 11:48 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

@artitu z poziomu serwera i wtyczki wszystko działa , w logach widać dodany sprzęt , z całym  zestawem czujników jak napięcie , pobór dla każdego kanału , temp i kanały do sterowania. Jeśli coś nie działa to przyczyny szukaj w konfiguracji samego modułu

Jak już wszystko ruszy to wyłącz ten debug wtyczki nie jest potrzebny do normalnej pracy, tylko do diagnozy.

 
Dodane : 13/11/2021 9:19 am
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

@isom komunikacja jest 100%, po zmianie nazwy na Shelly (Advanced - Developer Settings) automatycznie zmienia się nazwa w Domoticzu. Gdybym nie wiedział, że nie działa to wszystko jest OK. Tyle, że efektu nie ma... Jeszcze podrzucam screen z Shelly'ego (oczywiście ip i hasła sprawdzone) oraz Domoticza bo może tu coś trzeba poprawić?

 

Screenshot 2021 11 13 at 15 22 40 Shelly Switch
Screenshot 2021 11 13 at 15 25 13 Domoticz

 

 
Dodane : 13/11/2021 3:26 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

@artitu a po co ten custom prefix RoletaMD w shelly ? 

A typ rolety to procentowa "Percentage" bo w shelly masz suwak do poziomów

 
Dodane : 13/11/2021 3:38 pm
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

Sprawa się rozwiązała - działa - Custom MQTT prefix w ustawieniach Shelly 2.5 MUSI BYĆ WYŁĄCZONY!
Dziękuję @isom za poświęcony czas 🙂

Po czasie...

Mam 2 rolety w jednym oknie i oba silniki na Shelly. Widzę, że jest kłopot kiedy jedna działa, do drugiej nie można się dostać i na odwrót.
Jakaś komenda/przełącznik by je odseparować?
Jaki jest min. poziom sygnału

Screenshot 2021 11 13 at 17 52 09 Domoticz

przy jakim system zaczyna szwankować?

 
Dodane : 13/11/2021 5:02 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

To już raczej nie w tym temacie , problem z zasięgiem wifi , zasilanie modułów itp . Wtyczka i sam domoticz nie ma z tym nic wspólnego 

 
Dodane : 13/11/2021 6:13 pm
(@artitu)
Wpisów: 43
Kontrybutor
Autor tematu
 

Zgadza się, już tak z rozpędu pytałem.

 
Dodane : 13/11/2021 6:30 pm
Strona 1 / 2
Udostępnij: