Giter Site home page Giter Site logo

Comments (2)

skoona avatar skoona commented on July 21, 2024

I am researching a fix for this. So far each report of this nature has been resolved by replacing the offending chars, and often the degree symbol has been the cause. You however, know the proper utf-8 values for it, so I'll dig a little deeper. StandBy.

These lines in your log are of interest. I agree it should be handled in any case. However, this is it!

"devices/ichmv3/temperature/t4/$unit °"
"devices/badkamer-dht/temperature/temperature/$format ���?��?P��?$m @"

from homiemonitor.

skoona avatar skoona commented on July 21, 2024

I believe Release 0.9.0 will resolve this issue by converting the invalid char to a question mark or a period. Homie recommends that all transported values be string chars, and I assumed that to mean UTF-8. When binary data is in the payload these exceptions are raised and thus far cannot be intercepted, as there is not guarantee that the binary data will map to UTF.

Identifying the invalid char and replacing it at the source is the only course of action.

from homiemonitor.

Related Issues (4)

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.