Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
[
{
"Type": "cover",
"Class": "shutter",
"Parameters": {
"command_topic": "{baseTopic}/{deviceId}/rollingShutter/set",
"position_topic": "{baseTopic}/{deviceId}/position",
"position_template": "{{ 100 - value | int }}",
"set_position_topic": "{baseTopic}/{deviceId}/position/set",
"set_position_template": "{{ 100 - position }}",
"state_stopped": 0,
"state_opening": 1,
"state_closing": 2,
"payload_stop": "Stop",
"payload_open": "Up",
"payload_close": "Down"
}
},
{
"Type": "switch",
"Parameters": {
"state_on": 1,
"state_off": 0,
"payload_on": 1,
"payload_off": 0,
"assumed_state": true
}
}
Ich bastle hier schon den ganzen Sonntag rum und komme nicht weiter; hiiiieeeelllffffeee
->Meine Einstellungen sind wie folgt:
SmartFriends:
Host: 192.168.178.22
Port: 4300
...
...
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
/run.sh: line 12: 81 Killed dotnet /opt/SmartFriends.Host.dll --urls=http://0.0.0.0:80
/run.sh: line 12: http://[::]:80: No such file or directory
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[23:51:19] INFO: SSL is not enabled
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-rc: info: service legacy-services successfully started
[23:51:21] INFO: Starting NGINX for authentication handling...
[23:51:22] INFO: Starting mosquitto MQTT broker...
2023-10-22 23:51:22: Warning: Mosquitto should not be run as root/administrator.
2023-10-22 23:51:22: mosquitto version 2.0.17 starting
2023-10-22 23:51:22: Config loaded from /etc/mosquitto/mosquitto.conf.
2023-10-22 23:51:22: Loading plugin: /usr/share/mosquitto/go-auth.so
2023-10-22 23:51:22: ├── Username/password checking enabled.
2023-10-22 23:51:22: ├── TLS-PSK checking enabled.
2023-10-22 23:51:22: └── Extended authentication not enabled.
2023-10-22 23:51:22: Opening ipv4 listen socket on port 1883.
2023-10-22 23:51:22: Opening ipv6 listen socket on port 1883.
2023-10-22 23:51:22: Opening websockets listen socket on port 1884.
2023-10-22 23:51:22: mosquitto version 2.0.17 running
2023-10-22 23:51:26: New connection from 127.0.0.1:41248 on port 1883.
2023-10-22 23:51:26: Client <unknown> disconnected due to protocol error.
2023-10-22 23:51:30: New connection from 192.168.178.141:51519 on port 1883.
2023-10-22 23:51:30: New connection from 192.168.178.134:64708 on port 1883.
2023-10-22 23:51:30: New client connected from 192.168.178.141:51519 as DVES_AD6FB5 (p2, c1, k30, u'mqtt-user').
2023-10-22 23:51:30: New client connected from 192.168.178.134:64708 as DVES_BAFD61 (p2, c1, k30, u'mqtt-user').
2023-10-22 23:51:33: New connection from 192.168.178.162:55075 on port 1883.
2023-10-22 23:51:33: New connection from 192.168.178.163:51935 on port 1883.
2023-10-22 23:51:33: New client connected from 192.168.178.162:55075 as DVES_79A84A (p2, c1, k30, u'mqtt-user').
2023-10-22 23:51:33: New client connected from 192.168.178.163:51935 as DVES_7FEEBF (p2, c1, k30, u'mqtt-user').
[23:51:35] INFO: Successfully send discovery information to Home Assistant.
2023-10-22 23:51:38: New connection from 172.30.32.1:60631 on port 1883.
2023-10-22 23:51:39: New client connected from 172.30.32.1:60631 as 1CXCZ9HRzhbJU04Ms8SX41 (p2, c1, k60, u'mqtt-user').
[23:51:45] INFO: Successfully send service information to the Supervisor.
2023-10-23 00:21:27: Saving in-memory database to /data//mosquitto.db.
2023-10-23 00:51:28: Saving in-memory database to /data//mosquitto.db.
2023-10-23 01:21:29: Saving in-memory database to /data//mosquitto.db.
2023-10-23 01:51:30: Saving in-memory database to /data//mosquitto.db.
2023-10-23 02:21:31: Saving in-memory database to /data//mosquitto.db.
2023-10-23 02:51:32: Saving in-memory database to /data//mosquitto.db.
2023-10-23 03:21:33: Saving in-memory database to /data//mosquitto.db.
2023-10-23 03:51:34: Saving in-memory database to /data//mosquitto.db.
2023-10-23 04:21:35: Saving in-memory database to /data//mosquitto.db.
2023-10-23 04:51:36: Saving in-memory database to /data//mosquitto.db.
2023-10-23 05:21:37: Saving in-memory database to /data//mosquitto.db.
2023-10-23 05:51:38: Saving in-memory database to /data//mosquitto.db.
2023-10-23 06:21:39: Saving in-memory database to /data//mosquitto.db.
2023-10-23 06:51:40: Saving in-memory database to /data//mosquitto.db.
2023-10-23 07:21:41: Saving in-memory database to /data//mosquitto.db.
2023-10-23 07:51:42: Saving in-memory database to /data//mosquitto.db.
2023-10-23 08:08:13: Client 1CXCZ9HRzhbJU04Ms8SX41 closed its connection.
2023-10-23 08:09:07: New connection from 172.30.32.1:38401 on port 1883.
time="2023-10-23T08:09:12+02:00" level=error msg="POST error: Post \"http://127.0.0.1:80/authentication\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
2023-10-23 08:09:07: Bad socket read/write on client 3wrsE5oSdXeRxclD1bVOsZ: Unknown error.
time="2023-10-23T08:09:13+02:00" level=error msg="Post \"http://127.0.0.1:80/authentication\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
2023-10-23 08:09:14: New connection from 172.30.32.1:39129 on port 1883.
2023-10-23 08:09:14: New client connected from 172.30.32.1:39129 as 3wrsE5oSdXeRxclD1bVOsZ (p2, c1, k60, u'mqtt-user').
2023-10-23 08:20:39: Client 3wrsE5oSdXeRxclD1bVOsZ closed its connection.
2023-10-23 08:21:24: New connection from 172.30.32.1:46349 on port 1883.
2023-10-23 08:21:24: New client connected from 172.30.32.1:46349 as 2f9FAhHKLuTNW7W9gGBYFk (p2, c1, k60, u'mqtt-user').
2023-10-23 08:21:43: Saving in-memory database to /data//mosquitto.db.
2023-10-23 08:32:20: Client 2f9FAhHKLuTNW7W9gGBYFk closed its connection.
2023-10-23 08:33:01: New connection from 172.30.32.1:54761 on port 1883.
2023-10-23 08:33:01: New client connected from 172.30.32.1:54761 as 6N5hr7rLTLgTbZ0xlHydWI (p2, c1, k60, u'mqtt-user').
2023-10-23 08:39:04: Client 6N5hr7rLTLgTbZ0xlHydWI closed its connection.
2023-10-23 08:39:56: New connection from 172.30.32.1:55559 on port 1883.
2023-10-23 08:39:56: New client connected from 172.30.32.1:55559 as 6FEnPdBBLAx5dCeXv3vsrv (p2, c1, k60, u'mqtt-user').
2023-10-23 08:46:25: Client 6FEnPdBBLAx5dCeXv3vsrv closed its connection.
2023-10-23 08:47:12: New connection from 172.30.32.1:34829 on port 1883.
time="2023-10-23T08:47:17+02:00" level=error msg="POST error: Post \"http://127.0.0.1:80/authentication\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
time="2023-10-23T08:47:17+02:00" level=error msg="Post \"http://127.0.0.1:80/authentication\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
2023-10-23 08:47:12: Bad socket read/write on client 2kuhYtqdlRu27NQHEpuj2e: Unknown error.
2023-10-23 08:47:18: New connection from 172.30.32.1:51141 on port 1883.
2023-10-23 08:47:18: New client connected from 172.30.32.1:51141 as 2kuhYtqdlRu27NQHEpuj2e (p2, c1, k60, u'mqtt-user').
2023-10-23 08:51:44: Saving in-memory database to /data//mosquitto.db.
2023-10-23 09:21:45: Saving in-memory database to /data//mosquitto.db.