Giter Site home page Giter Site logo

Doesn't connect to wifi about homie-sonoff HOT 3 CLOSED

derlucas avatar derlucas commented on June 21, 2024
Doesn't connect to wifi

from homie-sonoff.

Comments (3)

Gulaschcowboy avatar Gulaschcowboy commented on June 21, 2024

Hi Lucas,

some update: If I choose a open/free Wifi (Freifunk) it connects and starts transmitting to the mqtt.
But temperature and humidity stay at 0 and lumiosity seems to be reversed :

homie/sens1/temperature/value 0
homie/sens1/humidity/value 0
homie/sens1/light/value 605
homie/sens1/temperature/value 0
homie/sens1/humidity/value 0
homie/sens1/light/value 573
homie/sens1/$stats/signal 38
homie/sens1/$stats/uptime 124
homie/sens1/temperature/value 0
homie/sens1/humidity/value 0
homie/sens1/light/value 602 ---> lux(?) exposed to lamp
homie/sens1/light/value 1004 ---> lux(?) with hand on sensor

About temperature/humidity: If i disconnect the serial jumpers for a while, it starts to transmit at least one (last measured/random?) value:
homie/sens1/temperature/value 10
homie/sens1/humidity/value 13
homie/sens1/light/value 570
homie/sens1/temperature/value 10
homie/sens1/humidity/value 13
homie/sens1/light/value 595
homie/sens1/temperature/value 10
homie/sens1/humidity/value 13

So there seems to be an issue with the internal serial communication.
Actually I had same issue with the original firmware, but I had no time to debug it.

HTH
Alex

from homie-sonoff.

derlucas avatar derlucas commented on June 21, 2024

Hey Alex,
the values are correctly read over the Serial connection, i debugged that. I just transfer over MQTT what comes from the atmel IC. I will look into that if and how i need to convert the values.
The problem with the missing values is currently in homie itself. There is this Bug where not more than three Nodes are possible. I'm waiting for @marvinroger to look at that issue since i'm not that deep into the homie codebase.
Lucas

from homie-sonoff.

derlucas avatar derlucas commented on June 21, 2024

I added the missing values by misusing one HomieNode for all values. Still need to calculate meaningful representational values for the numbers.

from homie-sonoff.

Related Issues (1)

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.