Git Product home page Git Product logo

Comments (11)

jziolkowski avatar jziolkowski commented on August 15, 2024

Please paste here output of status 0 command so I can further investigate.

from tdm.

mechromonger avatar mechromonger commented on August 15, 2024

06:52:37 CMD: status 0 06:52:37 MQT: esp02/stat/STATUS = {"Status":{"Module":18,"FriendlyName":["Garage Door","Sonoff2"],"Topic":"esp02","ButtonTopic":"0","Power":2,"PowerOnState":0,"LedState":1,"SaveData":1,"SaveState":1,"SwitchTopic":"garagestate","SwitchMode":[0,2,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":1,"SensorRetain":0,"PowerRetain":1}} 06:52:37 MQT: esp02/stat/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://192.168.1.114:9541/data/firmwares/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T18:31:44","StartupUTC":"2019-02-18T11:20:53","Sleep":50,"CfgHolder":4617,"BootCount":565,"SaveCount":1776,"SaveAddress":"FB000"}} 06:52:37 MQT: esp02/stat/STATUS2 = {"StatusFWR":{"Version":"6.4.1.17(83b950b-sonoff)","BuildDateTime":"2019-02-15T20:13:48","Boot":31,"Core":"2_5_0","SDK":"3.0.0-dev(c0f7b44)"}} 06:52:37 MQT: esp02/stat/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["****,****"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["000A80A9","280500000100000000000000000000000000","00000200"]}} 06:52:37 MQT: esp02/stat/STATUS4 = {"StatusMEM":{"ProgramSize":556,"Free":444,"Heap":19,"ProgramFlashSize":1024,"FlashSize":4096,"FlashChipId":"1625C2","FlashMode":3,"Features":["00000809","0FDAE794","000783A0","23B617CE","00003BC0"]}} 06:52:37 MQT: esp02/stat/STATUS5 = {"StatusNET":{"Hostname":"esp02","IPAddress":"192.168.1.115","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.1.1","Mac":"DC:4F:22:1D:A0:D8","Webserver":2,"WifiConfig":4}} 06:52:37 MQT: esp02/stat/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.110","MqttPort":1883,"MqttClientMask":"esp02","MqttClient":"esp02","MqttUser":"****","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}} 06:52:37 MQT: esp02/stat/STATUS7 = {"StatusTIM":{"UTC":"Tue Feb 19 05:52:37 2019","Local":"Tue Feb 19 06:52:37 2019","StartDST":"Sun Mar 31 02:00:00 2019","EndDST":"Sun Oct 27 03:00:00 2019","Timezone":"+01:00","Sunrise":"07:51","Sunset":"18:16"}} 06:52:37 MQT: esp02/stat/STATUS10 = {"StatusSNS":{"Time":"2019-02-19T06:52:37","Switch2":"ON"}} 06:52:37 MQT: esp02/stat/STATUS11 = {"StatusSTS":{"Time":"2019-02-19T06:52:37","Uptime":"0T18:31:44","Vcc":2.960,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"ON","Wifi":{"AP":1,"SSId":"****","BSSId":"A0:AB:1B:ED:98:9C","Channel":1,"RSSI":76}}

from tdm.

jziolkowski avatar jziolkowski commented on August 15, 2024

It looks healthy.
Since you're on windows, please open the registry editor and go to the following key:

HKEY_CURRENT_USER\Software\Tasmota\TDM
and delete the whole "Devices" key inside.

Make sure you pulled the latest commit and start again.

from tdm.

jziolkowski avatar jziolkowski commented on August 15, 2024

Any update on this?

from tdm.

mechromonger avatar mechromonger commented on August 15, 2024

sorry about the delay. im still getting the same error after trying what you suggested.

from tdm.

jziolkowski avatar jziolkowski commented on August 15, 2024

ok, please open tdm.py for editing, and localize this command:

payload = loads(msg)['StatusPRM']

before this line add this:

print(payload)
(use spaces to indent code, not tabs) and paste me the output.

from tdm.

mechromonger avatar mechromonger commented on August 15, 2024

ive tried that and im not getting anthing different to above. could you possibly post the correct position to place the print(payload) line. coding skills are sub par over here

elif found.reply == 'STATUS1': self.console_log(topic, "Received program information", msg) print(payload) payload = loads(msg)['StatusPRM'] self.device_model.updateValue(found.index, DevMdl.RESTART_REASON, payload['RestartReason'])

from tdm.

mechromonger avatar mechromonger commented on August 15, 2024

py

from tdm.

jziolkowski avatar jziolkowski commented on August 15, 2024

ok then place it above 'self.console_log....'

from tdm.

jziolkowski avatar jziolkowski commented on August 15, 2024

pull the newest commit, I'd added exception handling + error logging

from tdm.

jziolkowski avatar jziolkowski commented on August 15, 2024

Closed due to inactivity.

from tdm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.