Diferència entre revisions de la pàgina «Siarq's Hybrid 2.2»
Línia 55: | Línia 55: | ||
[https://www.electronics.cat/clients/siarq/mpptXines/BPLSeriesControllerProtocolv2.5.pdf Epever's MPPT Modbus Commands] | [https://www.electronics.cat/clients/siarq/mpptXines/BPLSeriesControllerProtocolv2.5.pdf Epever's MPPT Modbus Commands] | ||
− | '''SoC''' | + | '''SoC''' MPPT modbus register: 0x311A |
+ | |||
+ | '''BAT''' MPPT modbus register: 0x331A | ||
+ | |||
+ | '''PV''' MPPT modbus register: 0x3100 | ||
+ | |||
+ | '''LED''' MPPT modbus register: 0x310C |
Revisió del 19:47, 22 jul 2022
This wiki is written to understand current LoRaWAN protocol being sent by Siarq's Hybrid 2.2 (LoRaWAN version).
Contingut
LoRaWAN version
alpha-omega-tech-hyb The Things Stack Community Edition Application
Credentials
AppEUI, DevEUI and AppKey
For eui-70b3d57ed0053704 device at alpha-omega-tech-hyb application:
static const u1_t PROGMEM APPEUI[8] = { 0x01, 0x00, 0x00, 0x0C, 0x0B, 0x0A, 0x01, 0x05 }; // Little endian format static const u1_t PROGMEM DEVEUI[8] = { 0x04, 0x37, 0x05, 0xD0, 0x7E, 0xD5, 0xB3, 0x70 }; // Little endian format static const u1_t PROGMEM APPKEY[16] = { 0x65, 0x31, 0x77, 0x83, 0x4D, 0xE7, 0x2E, 0x04, 0x54, 0x9A, 0xB3, 0x63, 0xBA, 0x1F, 0x25, 0xC1 }; // Big endian format
MQTT(S)
Broker: eu1.cloud.thethings.network:8883 Username: alpha-omega-tech-hyb@ttn API key: NNSXS.S52UVHQC54UAR2CMHGFTLNPARYX2VKWKEOE4QMA.QAWCZOCBTDZMMQLCUL7ORXDAOR7IK75MYO5OZHQ37BX346CZUAXA uplink topic: v3/alpha-omega-tech-hyb@ttn/devices/eui-70b3d57ed0053704/up
Sensors
Modbus baud rate : 4800 bauds
Noise sensor modbus address: 0x01
PM sensor modbus address: 0x02
O3 sensor modbus address: 0x03
NO2 sensor modbus address: 0x04
CO2 sensor modbus address: 0x05
Byte 0: CO2 sensor or Noise sensor (Most Significant Byte) Byte 1: CO2 sensor or Noise sensor (Least Significant Byte)
For instance, byte[0]: 0x82 and byte[1]: 0x02 -> 0x0282 = 642 (642ppm if it is CO2 sensor o 64.2dBA if it is a noise sensor)
Byte 2: PM2.5 sensor (Most Significant Byte) Byte 3: PM2.5 sensor (Least Significant Byte) Byte 4: PM10 sensor (Most Significant Byte) Byte 5: PM10 sensor (Least Significant Byte)
For instance, byte[2]: 0x0F, byte[3]: 0x00, byte[4]:0x10 and byte[5]: 0x00 -> 0x000F = 15 (PM2.5: 15ug/m3) and 0x0010 = 16 (PM10: 16ug/m3)
Byte 6: Temperature's O3 sensor (Most Significant Byte) Byte 7: Temperature's O3 sensor (Least Significant Byte) Byte 8: Relative humidity's O3 sensor (Most Significant Byte) Byte 9: Relative humidity's O3 sensor (Least Significant Byte) Byte 10: Ozone's O3 sensor (Most Significant Byte) Byte 11: Ozone's O3 sensor (Least Significant Byte)
Epever's MPPT part
Modbus baud rate : 115200 bauds
SoC MPPT modbus register: 0x311A
BAT MPPT modbus register: 0x331A
PV MPPT modbus register: 0x3100
LED MPPT modbus register: 0x310C