diff --git a/.gitignore b/.gitignore index c7861cd9..fb59a5d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ /rpi/api-resources/generated/ /esp32-thread/open-thread-client/build/ -/esp32-thread/open-thread-rcp/build/ \ No newline at end of file +/esp32-thread/open-thread-rcp/build/ +/api/mosquitto/data +/api/mosquitto/log +/api-customer/mosquitto/data +/api-customer/mosquitto/data \ No newline at end of file diff --git a/api-customer/mosquitto/config/passwords b/api-customer/mosquitto/config/passwords new file mode 100644 index 00000000..1e7294fd --- /dev/null +++ b/api-customer/mosquitto/config/passwords @@ -0,0 +1,2 @@ +main:$7$101$O7fkB3g8X+ghEBwh$xgcVMgYEAUYFQMqLYTbbyt8t0YxXBKXtaVR/LzccC0Jz37gh/OFAEELnXVbMpHFiZM7IgaHWQcZHHGlpe+S8Zw== +pi-1:$7$101$uSHi24GO1nrNFGX8$83wH+V4YrC+BKGol4bsfyyow1sIEDSKh74IoweEXoCIripjlgomdAuTmG+UG0LdyiovMLL4h4xmnwAwMdS3YCQ== diff --git a/api-customer/mosquitto/log/mosquitto.log b/api-customer/mosquitto/log/mosquitto.log new file mode 100644 index 00000000..17974176 --- /dev/null +++ b/api-customer/mosquitto/log/mosquitto.log @@ -0,0 +1,265 @@ +1767015521: mosquitto version 2.0.22 starting +1767015521: Config loaded from /mosquitto/config/mosquitto.conf. +1767015521: Opening ipv4 listen socket on port 1883. +1767015521: Opening ipv4 listen socket on port 8883. +1767015521: mosquitto version 2.0.22 running +1767015696: mosquitto version 2.0.22 terminating +1767015696: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767015698: mosquitto version 2.0.22 starting +1767015698: Config loaded from /mosquitto/config/mosquitto.conf. +1767015698: Opening ipv4 listen socket on port 1883. +1767015698: Opening ipv4 listen socket on port 8883. +1767015698: mosquitto version 2.0.22 running +1767015831: mosquitto version 2.0.22 terminating +1767015831: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767015833: mosquitto version 2.0.22 starting +1767015833: Config loaded from /mosquitto/config/mosquitto.conf. +1767015833: Opening ipv4 listen socket on port 1883. +1767015833: Opening ipv4 listen socket on port 8883. +1767015833: mosquitto version 2.0.22 running +1767015920: mosquitto version 2.0.22 terminating +1767015920: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767015921: mosquitto version 2.0.22 starting +1767015921: Config loaded from /mosquitto/config/mosquitto.conf. +1767015921: Opening ipv4 listen socket on port 1883. +1767015921: Opening ipv4 listen socket on port 8883. +1767015921: mosquitto version 2.0.22 running +1767016138: mosquitto version 2.0.22 terminating +1767016138: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767016165: mosquitto version 2.0.22 starting +1767016165: Config loaded from /mosquitto/config/mosquitto.conf. +1767016165: Opening ipv4 listen socket on port 1883. +1767016165: Opening ipv4 listen socket on port 8883. +1767016165: mosquitto version 2.0.22 running +1767016502: mosquitto version 2.0.22 terminating +1767016502: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767016503: mosquitto version 2.0.22 starting +1767016503: Config loaded from /mosquitto/config/mosquitto.conf. +1767016503: Opening ipv4 listen socket on port 1883. +1767016503: Opening ipv4 listen socket on port 8883. +1767016503: mosquitto version 2.0.22 running +1767016613: mosquitto version 2.0.22 terminating +1767016613: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767016614: mosquitto version 2.0.22 starting +1767016614: Config loaded from /mosquitto/config/mosquitto.conf. +1767016614: Opening ipv4 listen socket on port 1883. +1767016614: Opening ipv4 listen socket on port 8883. +1767016614: mosquitto version 2.0.22 running +1767016615: New connection from 172.18.0.4:41675 on port 1883. +1767016615: Client disconnected due to protocol error. +1767016654: mosquitto version 2.0.22 terminating +1767016654: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767016700: mosquitto version 2.0.22 starting +1767016700: Config loaded from /mosquitto/config/mosquitto.conf. +1767016700: Opening ipv4 listen socket on port 1883. +1767016700: Opening ipv4 listen socket on port 8883. +1767016700: mosquitto version 2.0.22 running +1767016701: New connection from 172.18.0.4:42497 on port 1883. +1767016701: Client disconnected due to protocol error. +1767017340: mosquitto version 2.0.22 terminating +1767017340: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767017343: mosquitto version 2.0.22 starting +1767017343: Config loaded from /mosquitto/config/mosquitto.conf. +1767017343: Opening ipv4 listen socket on port 1883. +1767017343: Opening ipv4 listen socket on port 8883. +1767017343: mosquitto version 2.0.22 running +1767017343: New connection from 172.18.0.4:52341 on port 1883. +1767017343: Client auto-E4DB7DD5-DE98-DFCB-A805-C306190322D2 disconnected, not authorised. +1767017344: New connection from 172.18.0.4:56829 on port 1883. +1767017344: Client auto-8DCD5731-93BB-216E-CC5C-3D3C774B86CC disconnected, not authorised. +1767017346: New connection from 172.18.0.4:33505 on port 1883. +1767017346: Client auto-4A01B8A3-7F44-1317-8EC0-0EC0B2A0C602 disconnected, not authorised. +1767017350: New connection from 172.18.0.4:36207 on port 1883. +1767017350: Client auto-0F335086-A926-7C17-3F1C-ACDD32D8BC1A disconnected, not authorised. +1767017358: New connection from 172.18.0.4:59055 on port 1883. +1767017358: Client auto-5A084276-B2B2-65E5-C986-EAAB5C33AFE2 disconnected, not authorised. +1767017372: New connection from 172.18.0.4:49335 on port 1883. +1767017372: Client auto-1DE7C7EA-EE42-F46F-46C3-62B125C2BFB9 disconnected, not authorised. +1767017403: New connection from 172.18.0.4:39171 on port 1883. +1767017403: Client auto-26262163-91E3-420A-48ED-FB3C6D4A162F disconnected, not authorised. +1767017416: mosquitto version 2.0.22 terminating +1767017416: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767020353: mosquitto version 2.0.22 starting +1767020353: Config loaded from /mosquitto/config/mosquitto.conf. +1767020353: Error: Unable to open pwfile "/mosquitto/config/passwords". +1767020353: Error opening password file "/mosquitto/config/passwords". +1767020457: mosquitto version 2.0.22 starting +1767020457: Config loaded from /mosquitto/config/mosquitto.conf. +1767020457: Opening ipv4 listen socket on port 1883. +1767020457: Opening ipv4 listen socket on port 8883. +1767020457: mosquitto version 2.0.22 running +1767020457: New connection from 172.18.0.4:48239 on port 1883. +1767020457: New client connected from 172.18.0.4:48239 as auto-F16B47A9-C2E6-3E62-0B19-BEB2CFFD7FC1 (p2, c1, k60, u'pi-1'). +1767020511: mosquitto version 2.0.22 terminating +1767020511: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767020514: mosquitto version 2.0.22 starting +1767020514: Config loaded from /mosquitto/config/mosquitto.conf. +1767020514: Error: Unable to open pwfile "/mosquitto/config/passwords". +1767020514: Error opening password file "/mosquitto/config/passwords". +1767020626: mosquitto version 2.0.22 starting +1767020626: Config loaded from /mosquitto/config/mosquitto.conf. +1767020626: Opening ipv4 listen socket on port 1883. +1767020626: Opening ipv4 listen socket on port 8883. +1767020626: mosquitto version 2.0.22 running +1767020627: New connection from 172.18.0.4:50047 on port 1883. +1767020627: New client connected from 172.18.0.4:50047 as auto-619D1F58-CFA8-C2C9-3ACA-F51EE9E23353 (p2, c1, k60, u'pi-1'). +1767020627: No will message specified. +1767020627: Sending CONNACK to auto-619D1F58-CFA8-C2C9-3ACA-F51EE9E23353 (0, 0) +1767020627: Received SUBSCRIBE from auto-619D1F58-CFA8-C2C9-3ACA-F51EE9E23353 +1767020627: /customer/1/# (QoS 0) +1767020627: auto-619D1F58-CFA8-C2C9-3ACA-F51EE9E23353 0 /customer/1/# +1767020627: Sending SUBACK to auto-619D1F58-CFA8-C2C9-3ACA-F51EE9E23353 +1767020668: mosquitto version 2.0.22 terminating +1767020668: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767020674: mosquitto version 2.0.22 starting +1767020674: Config loaded from /mosquitto/config/mosquitto.conf. +1767020674: Opening ipv4 listen socket on port 1883. +1767020674: Opening ipv4 listen socket on port 8883. +1767020674: mosquitto version 2.0.22 running +1767020674: New connection from 172.18.0.4:56955 on port 1883. +1767020674: New client connected from 172.18.0.4:56955 as auto-04F7AC2C-4BD9-1BEA-7A2D-3C02845C0E5B (p2, c1, k60, u'pi-1'). +1767020674: No will message specified. +1767020674: Sending CONNACK to auto-04F7AC2C-4BD9-1BEA-7A2D-3C02845C0E5B (0, 0) +1767020674: Received SUBSCRIBE from auto-04F7AC2C-4BD9-1BEA-7A2D-3C02845C0E5B +1767020674: /customer/1/# (QoS 0) +1767020674: auto-04F7AC2C-4BD9-1BEA-7A2D-3C02845C0E5B 0 /customer/1/# +1767020674: Sending SUBACK to auto-04F7AC2C-4BD9-1BEA-7A2D-3C02845C0E5B +1767020731: Received PINGREQ from auto-04F7AC2C-4BD9-1BEA-7A2D-3C02845C0E5B +1767020731: Sending PINGRESP to auto-04F7AC2C-4BD9-1BEA-7A2D-3C02845C0E5B +1767020757: mosquitto version 2.0.22 terminating +1767020757: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767020762: mosquitto version 2.0.22 starting +1767020762: Config loaded from /mosquitto/config/mosquitto.conf. +1767020762: Opening ipv4 listen socket on port 1883. +1767020762: Opening ipv4 listen socket on port 8883. +1767020762: mosquitto version 2.0.22 running +1767020763: New connection from 172.18.0.4:49789 on port 1883. +1767020763: New client connected from 172.18.0.4:49789 as auto-17362255-FD56-BB00-535D-32BC510E6C16 (p2, c1, k60, u'pi-1'). +1767020763: No will message specified. +1767020763: Sending CONNACK to auto-17362255-FD56-BB00-535D-32BC510E6C16 (0, 0) +1767020763: Received SUBSCRIBE from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767020763: /customer/1/# (QoS 0) +1767020763: auto-17362255-FD56-BB00-535D-32BC510E6C16 0 /customer/1/# +1767020763: Sending SUBACK to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767020819: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767020819: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767020876: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767020876: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767020933: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767020933: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767020989: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767020989: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021046: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021046: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021102: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021102: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021159: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021159: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021215: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021215: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021272: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021272: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021329: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021329: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021386: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021386: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021442: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021442: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021499: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021499: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021555: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021555: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021612: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021612: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021669: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021669: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021724: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021724: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021780: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021780: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021837: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021837: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021893: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021893: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021950: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767021950: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022007: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022007: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022064: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022064: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022121: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022121: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022178: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022178: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022234: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022234: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022291: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022291: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022347: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022347: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022404: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022404: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022450: Saving in-memory database to /mosquitto/data//mosquitto.db. +1767022460: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022460: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022517: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022517: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022573: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022573: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022631: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022631: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022687: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022687: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022744: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022744: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022801: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022801: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022857: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022857: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022914: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022914: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022971: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767022971: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023027: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023027: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023084: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023084: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023142: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023142: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023198: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023198: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023255: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023255: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023311: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023311: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023368: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023368: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023425: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023425: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023482: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023482: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023538: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023538: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023595: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023595: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023651: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023651: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023708: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023708: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023765: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023765: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023821: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023821: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023878: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023878: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023935: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023935: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023992: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767023992: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767024049: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767024049: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767024105: Received PINGREQ from auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767024105: Sending PINGRESP to auto-17362255-FD56-BB00-535D-32BC510E6C16 +1767024115: Client auto-17362255-FD56-BB00-535D-32BC510E6C16 closed its connection. +1767024115: mosquitto version 2.0.22 terminating +1767024115: Saving in-memory database to /mosquitto/data//mosquitto.db.