Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs from Sonoff B1 and Sonoff SC (Plz add) #17

Open
Mesteriis opened this issue Jan 19, 2018 · 3 comments
Open

Logs from Sonoff B1 and Sonoff SC (Plz add) #17

Mesteriis opened this issue Jan 19, 2018 · 3 comments

Comments

@Mesteriis
Copy link

Sonoff B1 logs

19:45:14 MQT: Attempting connection...
19:45:14 MQT: Connected
19:45:14 MQT: SHOME/sonoff/LED1/LWT = Online (retained)
19:45:14 MQT: SHOME/sonoff/LED1/cmnd/POWER =
19:45:14 MQT: SHOME/sonoff/LED1/INFO1 = {"Module":"Sonoff B1","Version":"5.9.1f","FallbackTopic":"LED1","GroupTopic":"sonoffs"}
19:45:14 MQT: SHOME/sonoff/LED1/INFO2 = {"WebServerMode":"Admin","Hostname":"LED1","IPAddress":"192.168.1.110"}
19:45:14 MQT: SHOME/sonoff/LED1/INFO3 = {"RestartReason":"Power on"}
19:45:15 MQT: SHOME/sonoff/LED1/RESULT = {"POWER":"ON"}
19:45:15 MQT: SHOME/sonoff/LED1/POWER = ON
19:45:22 MQT: SHOME/sonoff/LED1/STATE = {"Time":"2018-01-19T19:45:22","Uptime":0,"Vcc":3.289,"POWER":"ON","Wifi":{"AP":1,"SSId":"SmartHOME","RSSI":96,"APMac":"60:31:97:3E:74:B4"}}
19:50:22 MQT: SHOME/sonoff/LED1/STATE = {"Time":"2018-01-19T19:50:22","Uptime":0,"Vcc":3.280,"POWER":"ON","Wifi":{"AP":1,"SSId":"SmartHOME","RSSI":82,"APMac":"60:31:97:3E:74:B4"}}
19:55:07 APP: Serial logging disabled
19:55:22 MQT: SHOME/sonoff/LED1/STATE = {"Time":"2018-01-19T19:55:22","Uptime":0,"Vcc":3.280,"POWER":"ON","Wifi":{"AP":1,"SSId":"SmartHOME","RSSI":86,"APMac":"60:31:97:3E:74:B4"}}
20:00:22 MQT: SHOME/sonoff/LED1/STATE = {"Time":"2018-01-19T20:00:22","Uptime":0,"Vcc":3.279,"POWER":"ON","Wifi":{"AP":1,"SSId":"SmartHOME","RSSI":88,"APMac":"60:31:97:3E:74:B4"}}
20:02:00 MQT: SHOME/sonoff/LED1/UPTIME = {"Time":"2018-01-19T20:02:00","Uptime":1}
20:02:50 CMD: color 12
20:02:50 MQT: SHOME/sonoff/LED1/RESULT = {"POWER":"ON","Dimmer":100,"Color":"FFFFFF0000"}
20:02:58 CMD: Dimmer
20:02:58 MQT: SHOME/sonoff/LED1/RESULT = {"Dimmer":100}
20:07:18 CMD: CT
20:07:18 MQT: SHOME/sonoff/LED1/RESULT = {"CT":499}

Command options Color
Command | Payload | Description
Color | 1 | Set color to Red
Color | 2 | Set color to Green
Color | 3 | Set color to Blue
Color | 4 | Set color to Orange
Color | 5 | Set color to Light Green
Color | 6 | Set color to Light Blue
Color | 7 | Set color to Amber
Color | 8 | Set color to Cyan
Color | 9 | Set color to Purple
Color | 10 | Set color to Yellow
Color | 11 | Set color to Pink
Color | 12 | Set color to White

Command options CT

CT |   | (Sonoff B1 and Led) Show current Color Temperature (153 = Cold, 500 = Warm)
CT | 153..500 | (Sonoff B1 and Led) Set color temperature from cold to warm
CT | + | Increment CT in 10 steps
CT | - | Decrement CT in 10 steps

Command options Dimmer

Dimmer |   | Show current dimmer setting from 0 to 100%
Dimmer | 0..100 | Set dimmer value from 0 to 100%
Dimmer | + | Increment brightness in 10 steps
Dimmer | - | Decrement brightness in 10 steps

Command options Scheme
Scheme |   | Show current selected scheme
Scheme | 0 | (default) Use a single color for all pixels in light/strip/ring
Scheme | 1 | (= Wakeup) Start wake up sequence
Scheme | 2 | Cycle through RGB colors using speed option
Scheme | 3 | Cycle through RBG colors using speed option
Scheme | 4 | Random cycle through colors using speed and fade options

Sonoff SC logs

20:15:08 MQT: SHOME/sonoff/HomeMonitor/INFO1 = {"Module":"Sonoff SC","Version":"5.9.1f","FallbackTopic":"HomeMonitor","GroupTopic":"sonoffs"}
20:15:08 MQT: SHOME/sonoff/HomeMonitor/INFO2 = {"WebServerMode":"Admin","Hostname":"HomeMonitor","IPAddress":"192.168.1.112"}
20:15:08 MQT: SHOME/sonoff/HomeMonitor/INFO3 = {"RestartReason":"Power on"}
20:15:16 MQT: SHOME/sonoff/HomeMonitor/STATE = {"Time":"2018-01-19T20:15:16","Uptime":0,"Vcc":3.170,"Wifi":{"AP":1,"SSId":"SmartHOME","RSSI":100,"APMac":"60:31:97:3E:74:B4"}}
20:15:16 MQT: SHOME/sonoff/HomeMonitor/SENSOR = {"Time":"2018-01-19T20:15:16","Temperature":20.0,"Humidity":16.0,"Light":10,"Noise":60,"AirQuality":90,"TempUnit":"C"}

Command options
Altitude |   | Show current Altitude to be used by calculating Sea level Pressure
Altitude | -30000..30000 | Set local Altitude in meters
AmpRes |   | Show current Current Resolution
AmpRes | 0..3 | Set Current Resolution
Counter |   | Show current Counter 1..4 value
Counter | 0 | Reset Counter 1..4
Counter | 1..64900 | Preset Counter 1..4
CounterDebounce |   | Show current global Counter debounce time in mSec
CounterDebounce | 0 / off | Turn global Counter debounce off
CounterDebounce | 1..3200 | Set global Counter debounce in mSec
CounterType |   | Show current Counter 1..4 type as pulse Counter or pulse Timer
CounterType | 0 / off | Set current Counter 1..4 type as pulse Counter
CounterType | 1 / on | Set current Counter 1..4 type as pulse Timer
EnergyRes |   | Show current Energy Resolution
EnergyRes | 0..5 | Set Energy Resolution
HumRes |   | Show current Humidity Resolution
HumRes | 0..3 | Set Humidity Resolution
Ina219Mode |   | Show current Ina219 Calibration Mode
Ina219Mode | 0 | Set Ina219 Calibration to max 32V and 2A
Ina219Mode | 1 | Set Ina219 Calibration to max 32V and 1A
Ina219Mode | 2 | Set Ina219 Calibration to max 16V and 0.4A
PressRes |   | Show current Pressure Resolution
PressRes | 0..3 | Set Pressure Resolution
SetOption8 |   | Show current Temperature as either Celsius or Fahrenheit
SetOption8 | 0 / celsius | Set Temperature to Celsius
SetOption8 | 1 / fahrenheit | Set Temperature to Fahrenheit
SetOption18 |   | Show Signal Light state - currently used with CO2 sensors only
SetOption18 | 0 / off | (default) Disable signal light
SetOption18 | 1 / on | Enable signal light
TempRes |   | Show current Temperature Resolution
TempRes | 0..3 | Set Temperature Resolution
TempUnit |   | Replaced by SetOption8
VoltRes |   | Show current Voltage Resolution
VoltRes | 0..3 | Set Voltage Resolution
WattRes |   | Show current Power Resolution
WattRes | 0..3 | Set Power Resolution

Link to tasmota wiki commands: https://github.com/arendst/Sonoff-Tasmota/wiki/Commands#ws2812-ailight-sonoff-led-b1-bn-sz01-h801-and-magichome

@Mesteriis Mesteriis changed the title Logs from Sonoff B1 and Sonoff SC Logs from Sonoff B1 and Sonoff SC (Plz add) Jan 19, 2018
@GermanBluefox
Copy link
Contributor

I am bit busy with cloud. I dont promise, that this will come soon.

@Mesteriis
Copy link
Author

Hi, I wanted to clarify enough information to add functionality. Or add something. I can also be a beta test

@ihavenonick
Copy link

ihavenonick commented Feb 15, 2018

Das wäre echt der Hammer, wenn man die B1 direkt über den Adapter steuern könnte, freu.
Wollte eben gerade die gewünschten Daten posten und siehe da, der Wunsch existiert schon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants