Closed GOinfo-Ltd closed 2 years ago
Hi @Webbeh
thank you for posting your issue.
Can you try the following URLs, just using a browser (not over the Node-Red-Adapter)
I assume that your Wiser-Gateway has IP-Address 172.22.22.59
1) http://172.22.22.59/api/loads
2) http://172.22.22.59/api/loads/1
3) http://172.22.22.59/api/loads/state
4) http://172.22.22.59/api/loads/1/state
Thank you...
Same result with Reqbin, Postman and, obviously, Node-Red.
Okay,
thanks for reply.
Can you send me your device information:
http://172.22.22.59/api/devices/00009de5
{
"data": {
"inputs": [
{
"type": "toggle"
}
],
"outputs": [
{
"type": "onoff"
}
],
"a": {
"hw_id": "0x1110",
"nubes_id": 68954,
"fw_version": "0x10100712",
"address": "0x00009de5",
"comm_name": "Druckschalter 1K",
"serial_nr": "011110_B_007021",
"fw_id": "0x0100",
"comm_ref": "3401.A"
},
"last_seen": 109,
"id": "00009de5",
"c": {
"hw_id": "0x8613",
"nubes_id": 57177,
"fw_version": "0x50005000",
"cmd_matrix": "0x0101",
"comm_name": "Druckschalter 1K WLAN",
"serial_nr": "018613_B_000860",
"fw_id": "0x8692",
"comm_ref": "926-3401.1.W.A"
}
},
"status": "success"
}
Here's the result of the extended device diagnostic, as well.
************************************
Start Extended System-Diagnostics 馃洬
************************************
Read System Information 馃攷..
1 Devices to check.
Read Device RSSI 馃攷..
RSSI of total 1 devices (0 RSSI values)
Signal Min: 150000 Max: 0 Mean: NaN
Noise Min: 5000 Max: 0 Mean: NaN
Signal/Noise ratio (SNR) Min: 100000 Max: 0 Mean: NaN
- Signal OK (Min > 1000) 馃憤
- Noise OK (Max < 7500) 馃憤
- SNR OK (Min > 20) 馃憤
RSSI diagram:
Signal 0|娄|0
Noise 0|娄路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 娄路 路 路 路 路 路 路 路 路 路 路|7500
Read Device NOISE 馃攷..
Device 00009de5: {"floor":41,"floor_peak":43,"floor_mean":33,"floor_base":12}
Noise of total 1 devices
Noise floor Min: 41 Max: 41 Mean: 41
- Noise floor OK (Max < 7500) 馃憤
Noise diagram:
peak 0|路娄O娄 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路|7500
floor 0|路娄O娄 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路|7500
mean 0|路娄O娄 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路|7500
base 0|路娄O娄 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路 路|7500
Read Device Health Check Information 馃攷..
Device 00009de5: {"kplus":0,"current_ch0":0,"flash":0,"current_ch1":0,"zero_cross":0,"mag":0,"dc_voltage":0,"temp_ch1":0,"temp_ch0":0}
All 1 devices are healthy! 馃憤
Check Short Frame Data Transmission over K+ 馃攷
Start Transmission... .................................
Read Error Registers 馃攷..
Device 00009de5: {"rx_errors":0}..
Device 00009de5: {"noise_warn_cnt":0}
Transmission successful (without errors)! 馃憤
Check Long Frame Data Transmission over K+ 馃攷
Start Transmission... .......................
Read Error Registers 馃攷..
Device 00009de5: {"rx_errors":0}..
Device 00009de5: {"noise_warn_cnt":0}
Transmission successful (without errors)! 馃憤
Generate Tx-Burst and read Test-Result (This may take 2 seconds) 馃攷....
Device 00009de5: 655350
Burst Signal of 1 devices
Signal max:655350; min:150000; mean:655350
- OK (min > 205) 馃憤
Burst signal diagram:
Burst signal 0|路 路 路 路 路 路 路 娄----------------------------------------------O娄|655350
*****************************************
Extended System-Diagnostics Completed 馃弫
All tests PASSED 馃憤
*****************************************
**************************************
Start Device Health Condition Check 馃洬
**************************************
Read System Information 馃攷..
1 Devices to check.
* A-Block checks *
Read Device Health Check Information 馃攷..
Device 00009de5: {"kplus":0,"current_ch0":0,"flash":0,"current_ch1":0,"zero_cross":0,"mag":0,"dc_voltage":0,"temp_ch1":0,"temp_ch0":0}
All 1 devices are healthy! 馃憤
Read Device DC Voltage 馃攷..
Device 00009de5: 23.9 VDC
Voltages of 1 devices
Read RSSF Free Blocks 馃攷..
Device 00009de5: Free blocks: 1475
RSSF Free Blocks of 1 devices
Read RSSF Erased Pages Counter 馃攷..
Counters of 0 devices
Read Switch ON counter Channel 1 馃攷..
Device 00009de5: Switch ON count: 31
Counters of 1 devices
Read Switch ON counter Channel 2 馃攷..
Device 00009de5: Switch ON count: NaN
Counters of 1 devices
Read Peak Temperature CH 1 馃攷..
Temperatures of 0 devices
Read Peak Temperature CH 2 馃攷..
Temperatures of 0 devices
* C-Block checks *
Read Device Health Check Information 馃攷..
Device 00009de5: {"health_check_errors":0}
All 1 devices are healthy! 馃憤
Read Device DC Voltage 馃攷..
Device 00009de5: 24.2 VDC
Voltages of 1 devices
*******************************************
Device Health Condition Check Completed 馃弫
All tests PASSED 馃憤
*******************************************
Also, I tried integrating it now in the Wiser eSetup app, and I got an error :
Error : Load 1 not found
on the app, after pairing the device (press of the button when the app asks for it).
Here's the contents of the "Timeseries" log from the device after that attempt :
2022-04-09 17:17:13 [PING] {"props":{},"des_addr":0,"mtp":9,"src_addr":214533,"raw":""}
2022-04-09 17:17:14 [PING] {"props":{},"des_addr":0,"mtp":9,"src_addr":214533,"raw":""}
2022-04-09 17:17:14 [PING] {"props":{},"des_addr":0,"mtp":9,"src_addr":214533,"raw":""}
2022-04-09 17:17:33 [EVENT] {"props":{"input_type":129,"event_data":{"cmd":4},"input_channel":0},"des_addr":0,"mtp":1,"src_addr":40421,"raw":"810004"}
2022-04-09 17:17:33 [WRITE_REGISTER] {"props":{"reg_addr":4098,"reg_type":1,"reg_val":0},"des_addr":0,"mtp":17,"src_addr":0,"raw":"10020100"}
2022-04-09 17:17:33 [STATUS] {"props":{"feedback_reg":0,"output_type":16,"output_channel":0,"level":0},"des_addr":0,"mtp":2,"src_addr":40421,"raw":"10000000"}
2022-04-09 17:18:30 [DSCVRY] {"props":{},"des_addr":0,"mtp":33,"src_addr":214533,"raw":""}
2022-04-09 17:18:30 [ANSWER_DSCVRY] {"props":{"a_fw_id":256,"a_fw_version":269485842,"c_fw_id":34450,"cmd_matrix":257,"c_hw_id":34323,"c_fw_version":1342197760,"a_hw_id":4368,"protocol_version":0},"des_addr":0,"mtp":161,"src_addr":40421,"raw":"00010186138692500050001110010010100712"}
Lastly, if I attempt to do anything on the "Loads" page of the device WebUI, it does nothing at all. The button doesn't have any effect, and Firefox shows me that the API call has the same error : load not found.
Also, here's the "devices" found on the interface.
Last but not least, I tried :
This had no effect, the problem persists.
Hi @Webbeh
first of all thank you for all provided information.
After investigation we could not reproduce your issue.
As we don't know how this issue can happen, we recommend in your case to run a factory-reset
.
Please read the following information about reset a WLAN-gateway
By pressing the reset-button (1) for a while its possible to reboot or even to reset the WLAN gateway.
Press the reset-button (1) until the LED (2) color change to your desired function and then release the button.
Possible functions according LED color:
馃煝 reboot the WLAN-gateway
馃數 network-config reset
馃敶 factory-reset
So, apparently, a factory reset seemed to do the trick.
Note, however, that for whatever reason, the backlight settings stayed saved on this device (I set them to red for off and green for on, and it stayed so after factory reset and even after a power cycle).
Thank you !
Hi.
Trying to develop a Node-Red adapter for Wiser, I encounter issues from the get-go.
I can get the API token easily enough, but run into issues when I try to interact with a load.
I only got one device (3401.A - one load on/off button with wifi) that's connected. No other device. C firmware version : 0x50005000 A firmware version : 0x10100712 mPi : 1.14.0-142 (commit 569acf3)
I can get the list of loads through![image](https://user-images.githubusercontent.com/1530837/161371914-28b694c5-f95e-46d4-abd7-9d3c4fa0d38d.png)
/api/loads
:However, as soon as I try to interact with that load in any way, it just gives me an "ID not found" error. This happens in all of those endpoints :
/api/loads/1/ctrl
/api/loads/1/target_state
/api/loads/1/state
If I try to query![image](https://user-images.githubusercontent.com/1530837/161371970-f6b7a344-3725-4537-b465-2cc5fa4ef887.png)
/api/loads/state
, it returns me an empty array......Is there anything I'm doing wrong ?
Thank you...