Comments (27)
@lemppari / @mushuthecat my attempt at a fix worked for me. Its available at https://github.com/shizmebob/room-assistant
Pull request made: #1477
You can hack the change in locally pretty easily if you need to as well as its just deleting a few characters. After that I had to wait for my devices to send new information through then restart HA and my warnings cleared. Hopefully one of the maintainers will accept the simple change and publish.
from room-assistant.
@shizmebob, if your change fixes the problem, please release it. At least tell what to change and where. I will then have to try to find out how I can get my installations updated...
from room-assistant.
@lemppari
Thanks for the file locations.
I have edited the files as per your above post.
Your information is Very much appreciated!
from room-assistant.
The issue is still present as far as naming, but Home Assistant stopped showing it as a repair iten.
Still have until release 2024.2 to fix this, but I have noticed Room Assistant development has slowed right down. I hope the developers are still maintaining it.....
There are a lot less BLE room presense options around now. I guess mm wave technology is slowly replacing them.
from room-assistant.
Hey @lemppari - I see this also. Given there has been no work done on this project for a while I took a look at the source code. I only use the xiaomi-mi integration and I think I just need to change one line to correct this. I will do this locally in my stack but if that will fix your usecase as well I can go to the trouble of a fork in github? Not going to bother if it wont help anyone.
from room-assistant.
Hello,
Same issue on my side im using room assistant for presence detection and i also get this warning ?
Any release soon ?
from room-assistant.
@shizmebob @mushuthecat I made that fix locally, but still I get errors in Homeassistant log. Maybe the fix is only for xiaomi-mi integration. I can't find where the entity name is created for MQTT integration.
from room-assistant.
@lemppari - I cant see anything obvious either. What hardware do you use with room-assistant?
from room-assistant.
@shizmebob All my room-assistants are running on Raspberry Pi Zero W and talking to homeassistant through mqtt.
from room-assistant.
Hi,
My Room-Assistant are running on docker container and everithing works perfectly im using them for room detection using BLE on my android devices.
I do not realy understand what we have to do to workaround this issue before the 2024 update...
Regards
from room-assistant.
It looks like I managed to fix my environment. I am running Raspberry Pis for room-assistants and they talk to Homeassistant via MQTT. I am using Bluetooth-classic integration for monitoring. I don't know how the deployment path goes from Github to npm for my devices, so I just updated the latest version of room-assistant to my clients and modified the code there. I dealed with the .js files on my devices, but here are the changes in the Github .ts versions.
For all the following lines I removed the ${baseName} and ${instanceName} (and following space) from the strings. The .ts files will be converted to .js files in the clients, so they look different but are obviously easily spotted there too.
src/integrations/bluetooth-classic/bluetooth-classic.service.ts
369: ${baseName} Room Presence
,
src/integrations/bluetooth-classic/bluetooth-classic.service.ts
354: ${baseName} Tracker
,
src/integrations/bluetooth-classic/bluetooth-classic.service.ts
317: ${instanceName} Bluetooth Inquiries
src/status/status.service.ts
97: new Sensor('status-cluster-leader', ${instanceName} Cluster Leader
),
src/status/status.service.ts
74: new Sensor('status-cluster-size', ${instanceName} Cluster Size
),
from room-assistant.
hey @lemppari - do you want me to give you access to my fork and you can add these fixes there?
from room-assistant.
@shizmebob Thanks, sure I can do that.
from room-assistant.
@lemppari - you should have an invite now
from room-assistant.
@shizmebob Thanks! I made changes to your fork. As I mentioned those changes fixed my installation, hopefully there are no unwanted side effects.
I had to remove some retain messages from my Homeassistant MQTT broker manually. I tried various methods for fixing before I found the correct places. Used MQTT Explorer for that.
from room-assistant.
Hi,
I get the same warnings. I run room assistant on a pi zero w using classic bluetooth to detect my phones.
I have read this thread but don't understand what I need to do to correct this.
It seems that a local edit of the 'json files is all that is required
Where are the files that need editing on my pi zero located?
If you could point me there I could edit directly.
Or how do I use the fork on Github to upgrade my room-assistant installation?
A step by step instruction would be appreciated, but I would prefer to edit the files locally as I only have one room assistant instance.
Many thanks in advance.
from room-assistant.
from room-assistant.
Ok I have tried to edit the local files but I cannot find them.
Please can you tell me where the "local" files are so I can edit them. You both say these files can be hacked locally on the device that is running Room Assistant, but where are they? What directory are they in?
I have run a find / *.js and come up with hundreds of files.
I have run a grep -l "$baseName Room Presence" and had no luck as it is taking forever.
ANY help would be appreciated.
from room-assistant.
@Duke-Box , local files are in the directories under /opt/nodejs/lib/node_modules/room-assistant/dist/:
/opt/nodejs/lib/node_modules/room-assistant/dist/integrations/bluetooth-classic/bluetooth-classic.service.js
/opt/nodejs/lib/node_modules/room-assistant/dist/status/status.service.js
from room-assistant.
And actually Home Assistant doesn't complain any more. See home-assistant/core#98768 But maybe this could still remain open just in case room-assistant folks wake up.
from room-assistant.
from room-assistant.
I tend to use room-assistant in a combination of natively on pi zeros, but also in docker containers on pi 3B+s. Will there be a way to get these changes incorporated into a public docker image?
from room-assistant.
There hasn't been any activity on this issue recently. In an effort to provide a better overview of current issues we automatically clean some of the old ones. Many of them may already be resolved in newer versions of room-assistant.
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
from room-assistant.
Since this component, unfortunately seems to be dead, it still an issue.
from room-assistant.
Unfortunately this is the issue with custom components. They are only as good as the maintenance of the component. Once the maintainer steps back they are slow to be updated
from room-assistant.
Related Issues (20)
- Track room-assistant companion app via ESPHome HOT 3
- iOS Room Assistant App is not keeping the BLE alive for detection HOT 36
- Bluetooth stops working on multiple pi's after some time, reset fails HOT 15
- BLE input via MQTT integration
- room-assistant stopped working on Home Assistant HOT 9
- Pi Zero W service restarting constantly HOT 7
- Is room-assistant no longer maintained? HOT 8
- BLE ID changes with every restart - identification via peripheral designation possible?
- rpi4 with bullseye doesn't get mdns to work with room-assistant HOT 3
- Compatibility with other HomeAutomation Systems HOT 1
- Room Assistant wont start HOT 1
- - error - HomeAssistantService: connect ECONNREFUSED HOT 1
- Stuck on installing on raspzero HOT 2
- Please make it possible (and clearly document) to reduce loglevel from INFO to WARNING.
- Room Assistant hanging HOT 8
- Missing devices (working in HomeAssistant iBeacon integration) HOT 3
- TP-Link Bluetooth adapter doesn't properly work on RPi 4 on HAOS HOT 1
- MQQT is connected but shows now devices HOT 1
- Extend bluetooth control reach and control local arduino. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from room-assistant.