-
Notifications
You must be signed in to change notification settings - Fork 39
Commands
Zoilo Mora edited this page Jun 19, 2021
·
1 revision
| Command | Function | Usage Example |
|---|---|---|
| rebootCause | Indicate the cause of a reboot | Cause of a Reboot |
| getFreeHeap | Obtiene el heap libre | getfreeheap |
| serial | config.flags.serial = true OR false | serial X (1=Enable, 0=Disable) |
| debug | Activar niveles de debug | debug 0 = All Disable, debug 1-6 Enable |
| webLog | Log in web console | weblog X (1=Enable, 0=Disable) |
| KwToday | Set el contador diario a un valor | KwToday value (in kW) |
| KwTotal | Set el contador total a un valor | KwTotal value (in kW) |
| KwExportToday | Set el contador de excedentes de hoy a un valor | |
| KwExportTotal | Set el contador de excedentes de total a un valor | KwExportTotal value (in kW) |
| flipScreen | screen orientation | flipScreen |
| gridPhase | NO LO SE | |
| showEnergyMeter | (n) Mostrar/Ocultar contadores de vertido/consumo | showEnergyMeter X (1=Enable, 0=Disable) |
| useExternalMeter | config.flags.useExternalMeter = true OR false | serial value |
| solaxVersion | Set SolaX version | solaxVersion value |
| tzConfig | Set TimeZone | tzConfig X (TimeZones) |
| ntpServer | Set NTP Address Server | ntpServer IP Address |
| offgridVoltage | config.flags.offgridVoltage = true OR false | offgridVoltage X (1=Enable, 0=Disable) |
| voltageOffset | Set voltage offset | voltageOffset value |
| useClamp | config.flags.useClamp = true OR false | useClamp X (1=Enable, 0=Disable) |
| clampCalibration | config.clampCalibration = float value | clampCalibration value |
| clampVoltage | config.clampVoltage = float value | clampVoltage value |
| showClampCurrent | Flags.showClampCurrent = true OR false | showClampCurrent X (1=Enable, 0=Disable) |
| maxWattsTariff | config.maxWattsTariff = float value | maxWattsTariff value |
| tunePID | Auto ajustar PID | tunePID Kp;Ki;Kd |
| useSolarAsMPTT | config.flags.useSolarAsMPTT = true OR false | useSolarAsMPTT X (1=Enable, 0=Disable) |
| useBMV | config.flags.useBMV = true OR false | useBMV X (1=Enable, 0=Disable) |
Los comandos en negrita son los que deben corregirse en el codigo
| Cause | Reason |
|---|---|
| 1 | Vbat power on reset |
| 3 | Software reset digital core |
| 4 | Legacy watch dog reset digital core |
| 5 | Deep Sleep reset digital core |
| 6 | Reset by SLC module, reset digital core |
| 7 | Timer Group0 Watch dog reset digital core |
| 8 | Timer Group1 Watch dog reset digital core |
| 9 | RTC Watch dog Reset digital core |
| 10 | Instrusion tested to reset CPU |
| 11 | Time Group reset CPU |
| 12 | Software reset CPU |
| 13 | RTC Watch dog Reset CPU |
| 14 | for APP CPU, reseted by PRO CPU |
| 15 | Reset when the vdd voltage is not stable |
| 16 | RTC Watch dog reset digital core and rtc module |
| Command | Function | Usage Example |
|---|---|---|
| SetControllerDirection | PID::REVERSE or PID::DIRECT | |
| pwmFrec | config.pwmFrequency = value | |
| listFiles | listSpiffsFiles() | |
| writeSpiffs | writeConfigSpiffs("config.bin") | |
| readSpiffs | readConfigSpiffs() |
Transferred to wiki by ZoiloMora