Code Monkey home page Code Monkey logo

Comments (7)

jpmens avatar jpmens commented on July 17, 2024

Is '11000 00100 1' supposed to be ONE argument, or is it supposed to be '11000' '00100' '1' ?

from mqtt-launcher.

PhetonGH avatar PhetonGH commented on July 17, 2024

GFK DVC and DVC, but that could be the reason, I'll try it out and tell you

from mqtt-launcher.

PhetonGH avatar PhetonGH commented on July 17, 2024

So, tried it, unfortunately without success, at first the values ​​were combined into one,

"433Mhz/Licht/Aqua" : { 'ON' : [ '/usr/bin/send-OH2', '11000' '00100' '1', ], }

2020-11-29 16:56:51,053 433Mhz/Licht/Aqua 1 ON
2020-11-29 16:56:51,060 Running t=433Mhz/Licht/Aqua: ['/usr/bin/send-OH2', '11000001001']

and the additional free characters unfortunately only improve the appearance in the log

"433Mhz/Licht/Aqua" : { 'ON' : [ '/usr/bin/send-OH2', '11000 ' '00100 ' '1', ], }
2020-11-29 16:59:34,904 433Mhz/Licht/Aqua 1 ON
2020-11-29 16:59:34,916 Running t=433Mhz/Licht/Aqua: ['/usr/bin/send-OH2', '11000 00100 1']

is it possible to put the comma ',' between the parameters should? Next try

from mqtt-launcher.

jpmens avatar jpmens commented on July 17, 2024

of course; this is documented in the examples in the README

from mqtt-launcher.

PhetonGH avatar PhetonGH commented on July 17, 2024

yeah it works, the comma ',' between the parameters are the solution. Thanks for your help and for the fine Python Code

greeting
JP

from mqtt-launcher.

PhetonGH avatar PhetonGH commented on July 17, 2024

ok you caught me, i can't find the readme on my Raspberry, sorry :-)

from mqtt-launcher.

jpmens avatar jpmens commented on July 17, 2024

It is in this repository right here
https://github.com/jpmens/mqtt-launcher/blob/master/README.md

from mqtt-launcher.

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.