Giter Site home page Giter Site logo

libreallhouse's People

Contributors

jk1993 avatar lpolasek avatar tzachi-dar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

libreallhouse's Issues

MongoDB connection string after migration to Mongodb Atlas

After migration from MLab sandbox to free MongoDB Atlas database I am having trouble to properly configure db_uri parameter. I am not seeing any uploads have been done.
I have tried with
mongodb+srv://username:[email protected]/dbname?retryWrites=true&w=majority
but unfortunately without sucess.
What is the proper way to configure db_uri ?
Tnx in advance

Does this work with Dexcom

Hello,
I am using your LibreAllHouse on many pi receivers all over the house. We are thinking of maybe switching to dexcom g6 when it becomes available. Is there an equivalent of your LibreAllHouse program for Dexcom that can run on the same pis or will I have to rebuild new hardware? What would you recommend for an equivalent dexcom setup?

Best

BT can not connect with RPi Zero W

EDIT 27.12.2018.: Dear Reader, if you have found this searching around, I want to inform you that this was NOT LibreAllHouse issue! This was only the hardware issue with RPi Zero W. RPi Zero W is an excellent product (recommend it, I have several of them and I am happy with all) but this one by accident had faulty antenna so the only problem was hardware - antenna. LibreAllHouse worked excellent and now works excellent on my new replaced RPi.

On RPi 3B everything works great, but with my new RPi Zero W it seams that BT connection with miaomiao can not be established.
The setup is the same on both RPis, clean Raspbian installation, latest updates... There is NO interference/collision between devices, that was ensured 100%.
tail -F ~/LibreAllHouse/screen.log on RPi Zero W says:

INFO 2018-12-17 20:24:18,374 cought btle.BTLEException Failed to connect to peripheral XX:XX:XX:XX:XX:XX, addr type: random
2018-12-17 20:24:19.580:  event wait ended, ret = False

EDIT: It seams that by default RPi Zero W can not see BLE devices. E.g. through GUI Bluetooth "Add device..." windows only Bluetooth devices NOT using BLE are wisible while BLE connections are NOT visible. In the same time RPi 3B sees all devices.

screen.log file size

While doing some research of the other problems, I have noticed one potential issue, so I am opening this new thread regarding that. I have noticed that in one of my old RPIs (Rpi 3B) that served for several years for LibreAllHouse, the file size of the screen.log is 2GB. I have a feeling that this might be a problem? I have renamed the old one and a new one was automatically created with new data being inserted from last couple of months. What is the best practice regarding this file and its size? Should it be regularly deleted, or are there any settings for automatic size limit or...? Tnx in advance!

RPi 3 model B inconsistently collects MiaoMiao data

Dear @tzachi-dar . Several months ago I had opened the issue #2 and you helped me to solve it. The RPi zero W was damaged so after change everything works.
Now I have the issue with RPi 3 model B. Everything worked for a year or so just fine, but last couple of months I can notice that RPI 3 B is not collecting readings from MiaoMiao 1 consistently. After fresh reboot it sometimes collects and then stops for a days although the MM is in its range. I tried to disable all other RPIs and master phone and smartwatch just to test this malfunctioning RPi and nothing. After fresh restart then sometimes it collects again for some limited time but sometimes not at all.
Can you or anyone else please help to track the root of the problem (hardware vs software)?
I will buy soon a new RPi 4 but I am interested what may cause such a strange behavior.

Can not upload to Mongo

Hi, I tried to setup a mongo db with mlab but was redirected to mongo cloud Atlas . The URI I am given to connect to my db by Mongo cloud is of the form
mongodb+srv://url/db

If I remove the +srv, I get a communication error in screen.log.
If I keep the +srv, I get the following error

caught exception in MongoThread, will soon continueThe "dnspython" module must be installed to use mongodb+srv:// URIsConfigurationError

so I installed dnspython through pip install dnspython but I am still getting the same error message. How may I upload to my mongo?

Using LibreAllHouse with MiaoMiao 1 and Libre 2

Using Miaomiao 1 with Libre 2 and RPI 3 B for LibreAllHouse. phone has oop2 running for the libre 2
scan.py works and finds MAC address of miaomiao 1 OK,but after running Main.py get errors

INFO 2021-04-22 01:57:08,879 tryAgainAlowed numberOfCrcErrors_ = 2 NumberOfDiscnections_ = 0
2021-04-22 01:57:08.880: event wait ended, ret = True
INFO 2021-04-22 01:57:08,881 We are still allowed to retry
INFO 2021-04-22 01:57:13,887 Sending a request for more data after send failure
INFO 2021-04-22 01:57:15,255 restarting since time from last packet is 6 already acumulated 369
40
50
we have enough data len = 369
checksum_ok1 = False
checksum_ok2 = False
checksum_ok3 = False
INFO 2021-04-22 01:57:18,851 checksum_ok = False
start byte = 40
end byte = 11
len = 369
battery = 100
<class 'str'>
fw version = 39
hw version = 1
sensor serial number 0MH002L4H24
bad end byte 11
2021-04-22 01:57:18.870: event wait ended, ret = True
INFO 2021-04-22 01:57:18,869 tryAgainAlowed numberOfCrcErrors_ = 3 NumberOfDiscnections_ = 0
INFO 2021-04-22 01:57:18,870 We are still allowed to retry
INFO 2021-04-22 01:57:23,876 Sending a request for more data after send failure
INFO 2021-04-22 01:57:25,248 restarting since time from last packet is 6 already acumulated 369
Followed by persistant error:
Connecting...
INFO 2021-04-22 01:58:29,073 cought btle.BTLEException Failed to connect to peripheral fa:03:f7:5f:ed:25, addr type: random
2021-04-22 01:59:28.998: event wait ended, ret = False

Using a raspberry pi and an android phone simultaneously

Hi there, I'm just wondering if this project allows my phone to be used as the primary connection to the miaomiao, and also use a raspberry pi as a backup?
I'm having issues keeping my phone connected to my miaomiao overnight, but would be interested in setting up a pi next to my bed.
I'm not sure how many connections miaomiao can hold simultaneously and couldn't find anything in the readme or google doc.
Thank you!

Problem with MiaoMiao 2 ?

Dear @tzachi-dar , yesterday I have made a switch from MiaoMiao 1 to MiaoMiao 2 and it seams that LibreAllHouse is not collecting data any more. Is it a compatibility issue with MiaoMiao 2 or am I missing something? We are using libreallhouse for at least 3 years and I am afraid that this is a compatibility issue which I was not aware till now. Is there anything I could do to resolve this? THANK YOU very much in advance!

Direct Libre2 cover (communication) over Bluettoth

Dear @tzachi-dar ,
After years and years of using this fabulous software with Libre 1 and MM it is time to switch to Libre2, hopefully without MM and with the patched app directly over bluetooth. I have one (probably silly) question: Is there any way to cover all house with this software and RPis but without using MM and directly communicating with Libre2 over Bluetooth? Thank you so so much on any response in advance!

EDIT: For someone who found this searching around: This question is NOT an issue. There is the guide for Configuring Raspberry Pi for Libre 2 made by the author @tzachi-dar and published on the front page of this project, so please enjoy: https://github.com/tzachi-dar/LibreAllHouse/blob/master/LIBRE2.md

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.