Read the statement by Michael Teeuw here.
Mi Temperature2 with xiaomi hygromether
-
no one can give some instructions for a newby?
-
I would be interested in this module as well. Am not able to code, but at least am able test.
-
@Albert2002 am not a coder neither but i can check/test too
at the moment data its stored on a txt file so next move its creating my very first module (I should have underlined and bold that) / grab the text from the txt file created by the python script and display it on the Mirror; sounds like easy (sure it is) but its a big deal for me as im not a coder and have no much time to look at…
like every single thing on earth it needs understanding on what we need (this its kinda sorted) and how it can be accomplished (thats the thing) --> so it means TIME :eleven-thirty: :eleven_o_clock:hope someone can give us a kindly hand on this :call_me_hand_light_skin_tone:
-
@rubenix @Albert2002 I created a module to display the values without the gateway. It works fine for me.
-
powa … what a lot of courage for installing :/ (I’m thinking to newbies)
Please, try to do better with a
package.json
file… (eventually take a look in any installer in my modules) -
@rubinho101 followup to @Bugsounet’s recommendation,
npm init
Will prompt u thru creating the package.json
npm install ??? -save will add the library ?? to the package.json dependencies, so npm install will do the work.For non-node libraries, u can use the postinstall script to do the work for your pip libraries.
And u could use sed to change the code u need to fix…
-
Thanks @rubinho101 I’ve the LYWSD03MMC version not the LYWSDCGQ so I don’t know if this actually will work…
Instructions are detailed but seems quite confusing for a newbie like me…:confused_face: -
@sdetweil thanks for your input. I have setup the package.json and postinstaller.sh. The postinstaller works fine when I run bash postinstaller.sh from the console. But when the package.json invokes the postinstaller I got the following errors:
sh: 1: img/postinstaller.sh: Permission denied npm ERR! code ELIFECYCLE npm ERR! errno 126 npm ERR! mmm-01zm@0.0.5 postinstall: `img/postinstaller.sh` npm ERR! Exit status 126 npm ERR! npm ERR! Failed at the mmm-01zm@0.0.5 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
How can the shell be executed without giving it permissions / running it manually from the console?
Thanks
-
@rubenix said in Mi Temperature2 with xiaomi hygromether:
Thanks @rubinho101 I’ve the LYWSD03MMC version not the LYWSDCGQ so I don’t know if this actually will work…
Instructions are detailed but seems quite confusing for a newbie like me…:confused_face:To my understanding there are some fundamental differences between the LYWSDCGQ and LYWSD03MMC. Whereas the former sends the data in the Advertisement Channels (so basically anyone can read the values), your sensor requires (a more privacy friendly) actual connection. I assume while this connection is established no other BLE devices can be parsed. https://github.com/JsBergbau/MiTemperature2 should work for your sensor. Maybe I find some time to integrate this library as well and a concept for BLE balancing depending on the type and number of sensors.
-
@rubinho101 said in Mi Temperature2 with xiaomi hygromether:
@rubenix said in Mi Temperature2 with xiaomi hygromether:
Thanks @rubinho101 I’ve the LYWSD03MMC version not the LYWSDCGQ so I don’t know if this actually will work…
Instructions are detailed but seems quite confusing for a newbie like me…:confused_face:To my understanding there are some fundamental differences between the LYWSDCGQ and LYWSD03MMC. Whereas the former sends the data in the Advertisement Channels (so basically anyone can read the values), your sensor requires (a more privacy friendly) actual connection. I assume while this connection is established no other BLE devices can be parsed. https://github.com/JsBergbau/MiTemperature2 should work for your sensor. Maybe I find some time to integrate this library as well and a concept for BLE balancing depending on the type and number of sensors.
yeah thats it, thats the link I posted on the 1st post actually, and it works with that indeed (read first post)