|
Post by geoffmunn on Nov 19, 2020 23:51:21 GMT -8
Hi,
The setup process worked and the webpage was accessible via a browser. A few days later this stopped working - the OLED Board says 'Smart Garden', and nothing else.
If I run the test script, I get this error:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.77', port=80): Max retries exceeded with url: /setSingleValve?params=admin,1,1,20 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5e55170>: Failed to establish a new connection: [Errno 111] Connection refused')) ########################### Wireless Extender 192.168.1.77 NOT RESPONDING ###########################
192.168.1.77 was the IP address that it registered on the first time before it stopped working.
Unplugging it and completely rebooting the RPi doesn't change anything - any ideas?
|
|
|
Post by SDL on Nov 20, 2020 18:37:21 GMT -8
Hmm..
Can you connect the SGS Extender to a USB port on your computer? Then we can exactly what is going on.
If not, then do a reset on your SGS Extender board to return it to system defaults and set it up again.
to set it to defaults:
Hold the AUX button down while you hit and release the reset button. Wait until you see the OLED display put up smart garden.
Follow the setup instructions for the extender gain.
BP
|
|
|
Post by geoffmunn on Nov 21, 2020 23:32:47 GMT -8
I reset it to the factory defaults and managed to get it working again - it took several attempts but the testSGSSystem.py script eventually reported that everything was working.
Then, when I started the scan in the web interface, it reported no found hardware and I noticed that it was back to only showing the "Smart Garden" text on the OLED screen.
During this time, it hadn't been moved or touched so I'm not sure why it can be randomly working/failing.
If I plug it into a USB port, what should I be looking for?
|
|
|
Post by SDL on Nov 22, 2020 6:56:51 GMT -8
Post the first 100 lines or so on the serial interface. Baud rate of 115200.
That will help show us what is happening.
BP
|
|
|
Post by geoffmunn on Nov 23, 2020 1:10:48 GMT -8
A little bit more information would be appreciated! When I plug it in to a Windows 10 laptop, no new COM interface appears in the device manager. Using PuTTY and randomly trying COM ports fails.
|
|
|
Post by SDL on Nov 24, 2020 15:44:12 GMT -8
Look for your problem on line.
You should just plug a USB cable from the SGS Extender to your laptop.
This sounds like a windows problem. BP
|
|
|
Post by geoffmunn on Nov 25, 2020 23:32:12 GMT -8
It is continuously rebooting, there is a very clear error message in the output below.
ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5816 entry 0x400806ac Turning off USB valves and Sensors ############################## SmartGardenSystem2 Wireless Extender ############################## Software Version = 025 I2C device found at address 0x11 ! I2C device found at address 0x20 ! I2C device found at address 0x3C ! I2C device found at address 0x49 ! StartxSemaphoreUseI2C=1 Initializing Valves and Sensors Turning off USB valves and Sensors Turning off relays Turning off relay:1 Turning off relay:2 Turning off relay:3 Turning off relay:4 Exiting Initializing Valves and Sensors preferencesfreeentries=456 ----Reading Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- Using existing SSID/psk SSID=Postman Pat psk=hidden password Waiting for Saved WiFi .. WiFI Connected. SSID=Postman Pat psk=hidden password ----Writing Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- IP Address: 192.168.1.65 WiFi Channel= 6 Gateway Address:192.168.1.254 Subnet Mask:255.255.255.0 -------- MQTT Start -------- MQTT_IP=192.168.1.75 MQTT_PORT=1883 Attempting MQTT connection...client name=SGSWireless-d695 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-6eb3 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-b507 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-aa00 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-a3a7 failed, rc=-2 try again in 2 seconds Guru Meditation Error: Core 1 panic'ed (IntegerDivideByZero). Exception was unhandled. Core 1 register dump: PC : 0x400d6b48 PS : 0x00060630 A0 : 0x800dbe04 A1 : 0x3ffb1ea0 A2 : 0x00000001 A3 : 0x3ffc2da4 A4 : 0x3ffc2260 A5 : 0x3ffc2f80 A6 : 0x00000005 A7 : 0x3ffc2568 A8 : 0x800d6b42 A9 : 0x3ffb1e80 A10 : 0x00000000 A11 : 0x00000157 A12 : 0x0000000a A13 : 0x3ffc2f80 A14 : 0x0000006d A15 : 0x3ffb1e4c SAR : 0x00000006 EXCCAUSE: 0x00000006 EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffa Backtrace: 0x400d6b48:0x3ffb1ea0 0x400dbe01:0x3ffb1ef0 0x400e9a93:0x3ffb1fb0 0x4008a6d1:0x3ffb1fd0 Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5816 entry 0x400806ac Turning off USB valves and Sensors ############################## SmartGardenSystem2 Wireless Extender ############################## Software Version = 025 I2C device found at address 0x11 ! I2C device found at address 0x20 ! I2C device found at address 0x3C ! I2C device found at address 0x49 ! StartxSemaphoreUseI2C=1 Initializing Valves and Sensors Turning off USB valves and Sensors Turning off relays Turning off relay:1 Turning off relay:2 Turning off relay:3 Turning off relay:4 Exiting Initializing Valves and Sensors preferencesfreeentries=456 ----Reading Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- Using existing SSID/psk SSID=Postman Pat psk=hidden password Waiting for Saved WiFi .. WiFI Connected. SSID=Postman Pat psk=hidden password ----Writing Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- IP Address: 192.168.1.65 WiFi Channel= 6 Gateway Address:192.168.1.254 Subnet Mask:255.255.255.0 -------- MQTT Start -------- MQTT_IP=192.168.1.75 MQTT_PORT=1883 Attempting MQTT connection...client name=SGSWireless-6a96 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-1103 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-e failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-77f2 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-7fb3 failed, rc=-2 try again in 2 seconds Guru Meditation Error: Core 1 panic'ed (IntegerDivideByZero). Exception was unhandled. Core 1 register dump: PC : 0x400d6b48 PS : 0x00060630 A0 : 0x800dbe04 A1 : 0x3ffb1ea0 A2 : 0x00000001 A3 : 0x3ffc2da4 A4 : 0x3ffc2260 A5 : 0x3ffc2f80 A6 : 0x00000005 A7 : 0x3ffc2568 A8 : 0x800d6b42 A9 : 0x3ffb1e80 A10 : 0x00000000 A11 : 0x00000157 A12 : 0x0000000a A13 : 0x3ffc2f80 A14 : 0x00000000 A15 : 0x3ffb0060 SAR : 0x00000006 EXCCAUSE: 0x00000006 EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffa Backtrace: 0x400d6b48:0x3ffb1ea0 0x400dbe01:0x3ffb1ef0 0x400e9a93:0x3ffb1fb0 0x4008a6d1:0x3ffb1fd0 Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5816 entry 0x400806ac Turning off USB valves and Sensors ############################## SmartGardenSystem2 Wireless Extender ############################## Software Version = 025 I2C device found at address 0x11 ! I2C device found at address 0x20 ! I2C device found at address 0x3C ! I2C device found at address 0x49 ! StartxSemaphoreUseI2C=1 Initializing Valves and Sensors Turning off USB valves and Sensors Turning off relays Turning off relay:1 Turning off relay:2 Turning off relay:3 Turning off relay:4 Exiting Initializing Valves and Sensors preferencesfreeentries=456 ----Reading Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- Using existing SSID/psk SSID=Postman Pat psk=hidden password Waiting for Saved WiFi .. WiFI Connected. SSID=Postman Pat psk=hidden password ----Writing Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- IP Address: 192.168.1.65 WiFi Channel= 6 Gateway Address:192.168.1.254 Subnet Mask:255.255.255.0 -------- MQTT Start -------- MQTT_IP=192.168.1.75 MQTT_PORT=1883 Attempting MQTT connection...client name=SGSWireless-7a7 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-9150 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-8a4d failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-1c02 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-2f27 failed, rc=-2 try again in 2 seconds Guru Meditation Error: Core 1 panic'ed (IntegerDivideByZero). Exception was unhandled. Core 1 register dump: PC : 0x400d6b48 PS : 0x00060630 A0 : 0x800dbe04 A1 : 0x3ffb1ea0 A2 : 0x00000001 A3 : 0x3ffc2da4 A4 : 0x3ffc2260 A5 : 0x3ffc2f80 A6 : 0x00000005 A7 : 0x3ffc2568 A8 : 0x800d6b42 A9 : 0x3ffb1e80 A10 : 0x00000000 A11 : 0x00000157 A12 : 0x0000000a A13 : 0x3ffc2f80 A14 : 0x0000006d A15 : 0x3ffb1e4c SAR : 0x00000006 EXCCAUSE: 0x00000006 EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffa Backtrace: 0x400d6b48:0x3ffb1ea0 0x400dbe01:0x3ffb1ef0 0x400e9a93:0x3ffb1fb0 0x4008a6d1:0x3ffb1fd0 Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5816 entry 0x400806ac Turning off USB valves and Sensors ############################## SmartGardenSystem2 Wireless Extender ############################## Software Version = 025 I2C device found at address 0x11 ! I2C device found at address 0x20 ! I2C device found at address 0x3C ! I2C device found at address 0x49 ! StartxSemaphoreUseI2C=1 Initializing Valves and Sensors Turning off USB valves and Sensors Turning off relays Turning off relay:1 Turning off relay:2 Turning off relay:3 Turning off relay:4 Exiting Initializing Valves and Sensors preferencesfreeentries=456 ----Reading Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- Using existing SSID/psk SSID=Postman Pat psk=hidden password Waiting for Saved WiFi .. WiFI Connected. SSID=Postman Pat psk=hidden password ----Writing Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- IP Address: 192.168.1.65 WiFi Channel= 6 Gateway Address:192.168.1.254 Subnet Mask:255.255.255.0 -------- MQTT Start -------- MQTT_IP=192.168.1.75 MQTT_PORT=1883 Attempting MQTT connection...client name=SGSWireless-d1e5 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-9ce9 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-78fc failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-98d9 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-a92d failed, rc=-2 try again in 2 seconds Guru Meditation Error: Core 1 panic'ed (IntegerDivideByZero). Exception was unhandled. Core 1 register dump: PC : 0x400d6b48 PS : 0x00060630 A0 : 0x800dbe04 A1 : 0x3ffb1ea0 A2 : 0x00000001 A3 : 0x3ffc2da4 A4 : 0x3ffc2260 A5 : 0x3ffc2f80 A6 : 0x00000005 A7 : 0x3ffc2568 A8 : 0x800d6b42 A9 : 0x3ffb1e80 A10 : 0x00000000 A11 : 0x00000157 A12 : 0x0000000a A13 : 0x3ffc2f80 A14 : 0x0000006d A15 : 0x3ffb1e4c SAR : 0x00000006 EXCCAUSE: 0x00000006 EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffa Backtrace: 0x400d6b48:0x3ffb1ea0 0x400dbe01:0x3ffb1ef0 0x400e9a93:0x3ffb1fb0 0x4008a6d1:0x3ffb1fd0 Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5816 entry 0x400806ac Turning off USB valves and Sensors ############################## SmartGardenSystem2 Wireless Extender ############################## Software Version = 025 I2C device found at address 0x11 ! I2C device found at address 0x20 ! I2C device found at address 0x3C ! I2C device found at address 0x49 ! StartxSemaphoreUseI2C=1 Initializing Valves and Sensors Turning off USB valves and Sensors Turning off relays Turning off relay:1 Turning off relay:2 Turning off relay:3 Turning off relay:4 Exiting Initializing Valves and Sensors preferencesfreeentries=456 ----Reading Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- Using existing SSID/psk SSID=Postman Pat psk=hidden password Waiting for Saved WiFi .. WiFI Connected. SSID=Postman Pat psk=hidden password ----Writing Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- IP Address: 192.168.1.65 WiFi Channel= 6 Gateway Address:192.168.1.254 Subnet Mask:255.255.255.0 -------- MQTT Start -------- MQTT_IP=192.168.1.75 MQTT_PORT=1883 Attempting MQTT connection...client name=SGSWireless-a20d failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-11cc failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-3174 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-49e4 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-8801 failed, rc=-2 try again in 2 seconds Guru Meditation Error: Core 1 panic'ed (IntegerDivideByZero). Exception was unhandled. Core 1 register dump: PC : 0x400d6b48 PS : 0x00060630 A0 : 0x800dbe04 A1 : 0x3ffb1ea0 A2 : 0x00000001 A3 : 0x3ffc2da4 A4 : 0x3ffc2260 A5 : 0x3ffc2f80 A6 : 0x00000005 A7 : 0x3ffc2568 A8 : 0x800d6b42 A9 : 0x3ffb1e80 A10 : 0x00000000 A11 : 0x00000157 A12 : 0x0000000a A13 : 0x3ffc2f80 A14 : 0x0000006d A15 : 0x3ffb1e4c SAR : 0x00000006 EXCCAUSE: 0x00000006 EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffa Backtrace: 0x400d6b48:0x3ffb1ea0 0x400dbe01:0x3ffb1ef0 0x400e9a93:0x3ffb1fb0 0x4008a6d1:0x3ffb1fd0 Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5816 entry 0x400806ac Turning off USB valves and Sensors ############################## SmartGardenSystem2 Wireless Extender ############################## Software Version = 025 I2C device found at address 0x11 ! I2C device found at address 0x20 ! I2C device found at address 0x3C ! I2C device found at address 0x49 ! StartxSemaphoreUseI2C=1 Initializing Valves and Sensors Turning off USB valves and Sensors Turning off relays Turning off relay:1 Turning off relay:2 Turning off relay:3 Turning off relay:4 Exiting Initializing Valves and Sensors preferencesfreeentries=456 ----Reading Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- Using existing SSID/psk SSID=Postman Pat psk=hidden password Waiting for Saved WiFi .. WiFI Connected. SSID=Postman Pat psk=hidden password ----Writing Preferences--- SSID=Postman Pat psk=hidden password OLEDOn=1 stationName= COffsetToUTC=0 EnglishOrMetric:0 Station Name: Admin Password:ad****** SolarMAXLA Enabled=0 SolarMAXLiPo Enabled=0 MQTT_IP=192.168.1.75 MQTT_PORT=1883 SensorCycle=600 -------------------------- IP Address: 192.168.1.65 WiFi Channel= 6 Gateway Address:192.168.1.254 Subnet Mask:255.255.255.0 -------- MQTT Start -------- MQTT_IP=192.168.1.75 MQTT_PORT=1883 Attempting MQTT connection...client name=SGSWireless-2179 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-ddfd failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-ed81 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-7389 failed, rc=-2 try again in 2 seconds Attempting MQTT connection...client name=SGSWireless-2220 failed, rc=-2 try again in 2 seconds Guru Meditation Error: Core 1 panic'ed (IntegerDivideByZero). Exception was unhandled. Core 1 register dump: PC : 0x400d6b48 PS : 0x00060630 A0 : 0x800dbe04 A1 : 0x3ffb1ea0 A2 : 0x00000001 A3 : 0x3ffc2da4 A4 : 0x3ffc2260 A5 : 0x3ffc2f80 A6 : 0x00000005 A7 : 0x3ffc2568 A8 : 0x800d6b42 A9 : 0x3ffb1e80 A10 : 0x00000000 A11 : 0x00000157 A12 : 0x0000000a A13 : 0x3ffc2f80 A14 : 0x0000006d A15 : 0x3ffb1e4c SAR : 0x00000006 EXCCAUSE: 0x00000006 EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffa Backtrace: 0x400d6b48:0x3ffb1ea0 0x400dbe01:0x3ffb1ef0 0x400e9a93:0x3ffb1fb0 0x4008a6d1:0x3ffb1fd0 Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5816 entry 0x400806ac Turning off USB valves and Sensors
|
|
|
Post by SDL on Nov 28, 2020 7:46:48 GMT -8
Looks to me tha you don't have the Raspberry Pi running SGS. It's trying to connect to the Pi and then it reboots and will try again.
Is this our SDCard?
BP
|
|
|
Post by geoffmunn on Nov 28, 2020 14:35:22 GMT -8
You said to "plug a USB cable from the SGS Extender to your laptop", which is what I did. There is no RPi connected at this point because the serial connection to the SGS board is via the 5v power supply.
Also, I have actually got this working (even got a screenshot), but it then stops. A factory reset gets it working again, and then it stops. This is on an SD card that I set up following your instructions, and a fully updated version of Raspbian.
|
|
|
Post by geoffmunn on Nov 29, 2020 11:43:13 GMT -8
I should also mention that it’s got wifi connectivity to the RPi, and that as I said earlier, it can connect without any problems until it decides to stop working.
A reboot cycle sounds like either a firmware problem or an incompatibility with the latest version of Raspbian?
|
|
|
Post by SDL on Dec 2, 2020 8:50:21 GMT -8
The reboot cycle is from it is unable to talk to the Raspberry Pi via MQTT. Very unlikely to be a image problem or with the latest version of Raspbian.
Show me what the Raspberry Pi running SGS2 is showing in the terminal window?
Also open another terminal window and type the following command:
mosquitto_sub -d -t SGS/#
This will tell you if you have mosquitto (the MQTT server) installed and running and will also print out what is being sent to your extender and what the extender is sending back.
BP
|
|
|
Post by geoffmunn on Dec 6, 2020 20:56:40 GMT -8
So the good news is that once I installed Mosquitto, it works. It's been running for the last few days and survived some reboots.
All of this could have been avoided if the setup instructions were actually complete - I double checked and there is no mention of needing to install mosquitto. These lines will solve this particular problem:
sudo apt-get install mosquitto mosquitto-clients sudo pip install paho-mqtt
Then this command will return some results:
sudo mosquitto_sub -d -t SGS/#
And then run this if you want it to survive a reboot.
sudo systemctl enable mosquitto
|
|
|
Post by SDL on Dec 8, 2020 18:41:55 GMT -8
Copied into the README.md file. Thanks for seeing that problem! It is installed on our SDCard.
BP
|
|