Repository: Dasher; RTL433 to MQTT Bridge; Ink printer ink reporting

Hello folks,

I was reading this topic and also several other around the internet and I must say, I’m confuse.

I have a RPI with HASSIO and now I would like to integrate some RF modules (https://www.ebay.co.uk/itm/New-1-5PCS-315-433-Mhz-RF-Transmitter-Receiver-Wireless-Module-Arduino-ARMMCU/272472455163?hash=item3f709fb7fb:m:m7aadyB7z1lfOEfQW2zc6DA) to work with my shutter motor.

My problem is, how do I know that modules are visible into the HASSIO?
How do I scan the codes in use?

OK, I’m going just start with these questions :).

Thank you in advance!

BR,
jponte

1 Like

Hi there @jponte, I made a simple addon that scan the codes using those cheap receivers and writes them in a MQTT sensor:

Thank you for your reply… probably is a silly question, but how do I install your addon? I’m trying via browser adding the link to your addon and then I’m saving that link (https://home-assistant.io/hassio/installing_third_party_addons/), but then nothing appears to me :frowning:

@jponte, you have just to add this URL:

https://github.com/pantomax/hassio-addons

in the hassio add-ons, save and then you should see a new list of addons

1 Like

Thanks. It’s installed.

Do I need something special to send the signals to my RF devices?

I have this:

switch

  • platform: rpi_rf
    gpio: 17
    switches:
    estores_sala_baixo:
    pulselength: 711
    protocol: 5
    code_on: 8388608
    code_off: 133742

But I think I shouldn’t use a switch, because I just want to send the signal I don’t need to have the button ON.

You could use a script or a scene if you want only 1 button

Installation/Build of Dasher killed my hass docker instance… Had to restart it via console but after that dasher was installed to hass! Created my config via SSH and launched docker, works great. Thanks Amazon for the free Buttons!

1 Like

Glad you got it working OK.
Thanks for the feedback.

RTL is only a receiver since it uses hardware that was originally designed to receive TV signals.
It can listen for 433mhz sensors but there is no capability to transmit.
You need to look for another solution if you need to control 433 devices.

Hi,

i am not able to install it, if I press install dasher, nothing happens, thats not true, it looks like its trying to install but then no luck.

Its clean current hassio install on a ubuntu server 16.04 instance.
All other add ons (appdeamon, samba, Mosquitto broker, Check Home Assistant configuration and Homebridge) are working fine.

Any ideas ?

Regards
Crey

Weird. Whats in the hassio logs? (from hassio advanced menu)

Hi,

this is what I get:

17-12-14 22:12:56 INFO (SyncWorker_2) [hassio.dock.addon] Start build f3248fb7/amd64-addon-dasher:0.2
17-12-14 22:12:56 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 410, in start
    resp = yield from self._request_handler(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web.py", line 325, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 93, in impl
    return (yield from handler(request))
  File "/usr/lib/python3.6/site-packages/hassio/api/util.py", line 33, in wrap_api
    answer = await method(api, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/hassio/addons/addon.py", line 500, in install
    if not await self.docker.install(self.last_version):
  File "/usr/lib/python3.6/site-packages/hassio/dock/util.py", line 18, in wrap_api
    return await method(api, *args, **kwargs)
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/hassio/dock/addon.py", line 248, in _install
    return self._build(tag)
  File "/usr/lib/python3.6/site-packages/hassio/dock/addon.py", line 261, in _build
    image = self.docker.images.build(**build_env.get_docker_args(tag))
  File "/usr/lib/python3.6/site-packages/docker/models/images.py", line 179, in build
    raise BuildError(chunk['error'])
docker.errors.BuildError: Please provide a source image with `from` prior to commit

I am using a generic ubuntuserver as you can see here:

17-12-14 22:12:33 INFO (MainThread) [hassio.host_control] Receive from HostControl: { "type": "generic", "version": "0.3", "last_version": "0.3", "hostname": "vmubunutuserver01", "features": ["shutdown", "reboot", "update"], "os": "GNU/Linux" }.

Thanks - I’ll take a look.
I too am using ubuntu based hass deployment on x86, so I should be able to reproduce the issue.

Cool,

i am awaiting your result, I was able to reproduce it, clean system, first install was dasher, I get the same error, while afterwards the others worked fine

Hi. Apologies for the delay - end of year crazyness.

I just removed and re-added the addon with no issues:

17-12-23 16:48:17 INFO (MainThread) [hassio.addons.addon] Create Home-Assistant addon data folder /data/addons/data/f3248fb7_dasher
17-12-23 16:48:17 INFO (SyncWorker_3) [hassio.dock.addon] Start build f3248fb7/amd64-addon-dasher:0.2
17-12-23 16:49:16 INFO (SyncWorker_3) [hassio.dock.addon] Build f3248fb7/amd64-addon-dasher:0.2 done

This is on

  • HA version 0.59.2
  • Supervisor version 0.76

Sorry I can’r reproduce the issue…

Hi, and thanks making this.
I have it working in principle, but have on tiny problem. I had checked in https://github.com/merbanan/rtl_433 and found out that it is supporting Nexa (93). Problem is that the hassio repository seems to be behind and does not include the Nexa protocol.

How can I get the protocol updates into hassio?

Thanks,
/Erik

Hi,

I was using my own fork of rtl_433 since there was a bug in the master that caused crashes for me.
You can see this in the dockerfile here:

Row 31:

git clone https://github.com/james-fry/rtl_433 && \

I have just merged the delta commits from the master https://github.com/merbanan/rtl_433
So you should now have the Nexa support you need (need to reinstall the add-on to get the changes)

In the future if you prefer, you can fork my HA addons repo and change to use the master as the source for rtl_433.

Hope this helped!

1 Like

Thanks! Will I try it out tomorrow and report back.

Sorry, if this is a noob question, but I am new to mqtt.
I have a hard time getting this to work and my log gets spammed with messages like

2017-12-30 11:35:32 ERROR (MainThread) [hbmqtt.broker] Invalid connection from (client @=172.30.33.2:48086) : [MQTT-3.1.2-1] Incorrect protocol name: “MQIsdp”
2017-12-30 11:35:32 DEBUG (MainThread) [hbmqtt.broker] Connection closed

That seem to orginate from the bridge

Any help appreciated.

Hi @eschumann

Not sure why you’re seeing that, but I googled and there is some related info here:
https://github.com/home-assistant/home-assistant/issues/854

Are you using the HA built in MQTT?

I use a mosquitto server and never saw this.
If you’re using hass.io it’s easy to install mosquitto via an add-on.

But I think you can try also to force the mqtt protocol version used by mosquitto_pub.
There is a switch for protocol-version:

In your script try forcing protocol version v3.1.1
by adding switch below to your script:

--protocol-version mqttv311