Q1 V2 Actions
Execute actions and control Q1 V2 devices
Device Selection
Assign New Hardware Id
Assign a new hardware ID to the device
Parameters:
Clear All Transactions
Clear all transactions from the device.
Clear Eeprom
Clear EEPROM
Parameters:
Clear Happy Days
Clear the happy days from the device.
Clear Happy Hour
Clear the happy hour from the device.
Clear Primary Network Credentials
Clear the primary network credentials
Clear Pulse Count Memory
Clear pulse count memory
Disable Trap In Boot Mode
Disable the trap in boot mode
Disable White Led
Disable the white LED
Eeprom Read
Read from the EEPROM
Parameters:
Eeprom Set Pulse Count
Set pulse count
Parameters:
Eeprom Write
Write to the EEPROM
Parameters:
Enable Trap In Boot Mode
Enable the trap in boot mode
Enable White Led
Enable the white LED
End Connection
End the connection to the device.
First Connect Hook
We execute this function every time the device connects to the server
Force Relay Clear
Force relay off
Force Relay Off
Force relay off
Force Relay On
Force relay on
Get All Transactions
Get all transactions
Get Billing Location
Get the billing location
Parameters:
Get Hardware Id Eeprom
Get the hardware ID of the device from the EEPROM
Get Meter Version
Get the meter version
Get Network Details
Get the network details
Get Nic Description
Get the description of the NIC device
Get Ota Device Id
Get the OTA device ID
Get Primary Network Credentials
Get the primary network credentials
Get Tariff
User Land: Get the tariff of the device. This does NOT update the state of the device. The actual value can be different from the one set in EEPROM due to the meter's internal state (RAM value).
Get Trap In Boot Mode
Get the trap in boot mode
Get Update Packet
Get update packet
Health Checkup
Health checkup
I2C Read
Read from the I2C peripheral
Parameters:
I2C Write
Write to the I2C peripheral
Parameters:
Initialize Meter
Initialize meter
Parameters:
Megawin Restart To Ap
Restart the meagawin module
Megawin Restart To Isp
Restart the meagawin module
Modbus One Register Read
Read a single register from the Modbus device
Parameters:
Modbus Read Message
Read a message from the Modbus device
Parameters:
Modbus Read Register
Read a register from the Modbus device
Parameters:
Modbus Scan2
Scan for Modbus devices
Parameters:
Modbus Scan
Scan for Modbus devices
Parameters:
Modbus Write Message
Write a message to the Modbus device
Parameters:
Modbus Write Register
Write a register to the Modbus device
Parameters:
Mode Measurement
User Land: Change meter to measurement mode
Mode Postpaid
User Land: Change meter to postpaid mode
Mode Prepaid
User Land: Change meter to prepaid mode
Mode Relay Off
User Land: Change meter to relay off mode
New Hid And Fts
Assign new hardware ID and perform first time setup
Parameters:
Nic Restart
User Land: Restart the NIC
On Server Disable Prepaid Metering
On Server: Disable the prepaid metering
On Server Enable Prepaid Metering
On Server: Enable the prepaid metering
On Server Set Dual Source Tariff
Set the tariff
Parameters:
On Server Set Flat Tariff
Set the tariff
Parameters:
Perform Deduction
Perform a deduction transaction
Parameters:
Perform Ota Update
Perform an OTA update on the NIC device
Parameters:
Perform Recharge
Perform a recharge transaction
Parameters:
Perform Transaction
Perform a transaction
Parameters:
Read Active Tariff
Device Land: Get active tariff of device from EEPROM. The actual value can be different from the one set in EEPROM due to the meter's internal state (RAM value).
Read Balance Cutoff
Get balance cutoff of device
Read Calibration Current Coeff
Get calibration current coefficient of device
Read Calibration Gain
Get calibration gain of device
Read Calibration Ia Chgn
Get calibration IA CHGN of device
Read Calibration Phcal
Get calibration PHCAL of device
Read Calibration Power Coeff
Get calibration power coefficient of device
Read Calibration Status
Get calibration status of device
Read Calibration Time
Get calibration time of device
Read Calibration Voltage Coeff
Get calibration voltage coefficient of device
Read Calibration Wa Cfdiv
Get calibration WA CFDIV of device
Read Configuration Variable
Read a configuration variable from the device
Parameters:
Read Default Lcd Page
Get default LCD page of device
Read Dg Tariff
Device Land: Get DG tariff of device from EEPROM. The actual value can be different from the one set in EEPROM due to the meter's internal state (RAM value).
Read Eb Tariff
Device Land: Get EB tariff of device from EEPROM. The actual value can be different from the one set in EEPROM due to the meter's internal state (RAM value).
Read Force Relay State
Get force relay state of device
Read Happy Days
Get happy days of device
Read Happy Hour
Get happy hour of device
Read Happy Weekday
Get happy weekday of device
Read Hardware Id
Get hardware ID of device
Read Message Interval
Get message interval of device
Read Meter Configuration
User Land / Device Land: Get meter configuration from device.
Parameters:
Read Net Metering Enabled
Get net metering enabled status of device
Read Prepaid Metering Enabled
Get prepaid metering enabled of device
Read Relay Inverted
Get relay inverted status of device
Read Serial Number
Get serial number of device
Relay Calibrate
Calibrate the relay
Rtc Get Datetime
Read the device datetime
Rtc Read
Read from the RTC
Parameters:
Rtc Set Datetime
Set the datetime on the RTC
Parameters:
Rtc Write
Write to the RTC
Parameters:
Send Raw Bytes To Megawin
Send raw bytes to megawin, useful when you need to talk to the bootloader. Args: data: The data to send to the megawin. read_back_bytes: The number of bytes to read back from the megawin. timeout: The timeout in milliseconds. Returns: The response from the megawin (bytes).
Parameters:
Send Serial Message
Send a serial message to the NIC device
Parameters:
Send Serial Message Raw
Send a raw serial message to the NIC device
Parameters:
Set Happy Hour
User Land: Set the happy hour of the device
Parameters:
Set Nic Device Manfacturer Code
Set the manufacturer code of the NIC device
Parameters:
Set Nic Hardware Id
Set the hardware ID of the NIC device
Parameters:
Set Prepaid Metering
Set enable prepaid metering flag on device and restarts the meter to apply changes.
Parameters:
Set Primary Network Credentials
Set the primary network credentials
Parameters:
Set Tariff
User Land: Set the tariff of the device. This updates the state of the device.
Parameters:
Start Connection
Start a connection to a device
Parameters:
Store Ota Device Id In Nic
Store the OTA device ID in the NIC
Parameters:
Switch To Primary Network
Switch to the primary network
Switch To Secondary Network
Switch to the secondary network
Transparent Serial Communication
Send a transparent serial communication message
Parameters:
Update Packet Handler
Handle update packet from the device
Parameters:
Write Active Tariff
Device Land: Set active tariff of device in EEPROM. The value will take effect after the next restart.
Parameters:
Write Balance Cutoff
Set balance cutoff of device
Parameters:
Write Calibration Current Coeff
Set calibration current coefficient of device
Parameters:
Write Calibration Gain
Set calibration gain of device
Parameters:
Write Calibration Ia Chgn
Set calibration IA CHGN of device
Parameters:
Write Calibration Phcal
Set calibration PHCAL of device
Parameters:
Write Calibration Power Coeff
Set calibration power coefficient of device
Parameters:
Write Calibration Status
Set calibration status of device
Parameters:
Write Calibration Time
Set calibration time of device
Parameters:
Write Calibration Voltage Coeff
Set calibration voltage coefficient of device
Parameters:
Write Calibration Wa Cfdiv
Set calibration WA CFDIV of device
Parameters:
Write Configuration Variable
Write a configuration variable to the device
Parameters:
Write Default Lcd Page
Set default LCD page of device
Parameters:
Write Dg Tariff
Device Land: Set DG tariff of device in EEPROM. The value will take effect after the next restart.
Parameters:
Write Eb Tariff
Device Land: Set EB tariff of device in EEPROM. The value will take effect after the next restart.
Parameters:
Write Force Relay State
Set force relay state of device
Parameters:
Write Happy Days
Set happy days of device
Parameters:
Write Happy Hour
Set happy hour of device
Parameters:
Write Happy Weekday
Set happy weekday of device
Parameters:
Write Hardware Id
Set hardware ID of device
Parameters:
Write Message Interval
Set message interval of device
Parameters:
Write Net Metering Enabled
Set net metering enabled status of device
Parameters:
Write Prepaid Metering Enabled
Device Land: Set prepaid metering enabled of device. The value will take effect after the next restart.
Parameters:
Write Relay Inverted
Set relay inverted status of device
Parameters:
Write Serial Number
Set serial number of device