francisp
(Francis)
October 26, 2019, 11:37am
61
Just upgrade one from 6.6.0.15/core 2.3.0 to 6.7.0. Had no problems. I will still have to see if it stays connected.
1 Like
Crhass
October 26, 2019, 11:38am
62
I was using the standard sonoff pre compiled binary from thehackbox, have you done this a or used your own smaller binary.
I managed to get minimal on with the new core but it wouldn’t install the full version.
Crhass
October 26, 2019, 11:49am
63
Did you do this over the air with URL for hackbox or github?
francisp
(Francis)
October 26, 2019, 11:50am
64
1 Like
Crhass
October 26, 2019, 12:01pm
65
Just tried another basic with its and same issue. This one was on 6.5 with 2.3 core now stuck on 6.7 minimal. Never had issues with previous upgrades. Any ideas how to try and fix without a wire flash?
francisp
(Francis)
October 26, 2019, 12:15pm
66
Are you sure ? There is a delay between the 2 flashes, in between it can look that it is stuck in the minimal.
Crhass
October 26, 2019, 12:20pm
67
It’s definitely staying on minimal. It looks like it is trying several times before it gives up on the full version. Just tried reset 5 and trying again now.
francisp
(Francis)
October 26, 2019, 12:37pm
68
Just tried another one, no issues. However, I did notice something strange. The one I flashed an hour ago :
The one I flashed just now :
There seems to be a new version in this time
My fault, took the wrong url for the second one.
Crhass
October 26, 2019, 12:40pm
69
Just done direct upload in the browser and it worked - now on 6.7.1 - not sure if the minor version fixed this issue.
Edit: just uploaded minimal and standard files for 6.7.1 to a local webserver and set that as the otaurl, last one I did worked fine ota.
I’m late to the party, but since I had some minor problems with my 1 in-use Sonoff, I thought I’d chime in. I have it outdoors in a covered screen room. It’s Tasmota 6.6.0 using MQTT, my MQTT broker is on an always-on stable Linux server, and my Wifi is a very reliable Ubiquiti setup. I use the Sonoff to control an exhaust fan by my bbq, keeps the smoke down, and keeps the white ceiling a bit cleaner. I also have a temperature/humidity sensor on GPIO3. I had a few wifi disconnects last week, and this week, twice the temperature sensor stopped reporting. A reboot solved it.
Tried connecting to the web interface and it stopped responding a few times.
Rebooted again and OTA flashed it to 6.7.0 and it seems solid now.
All my devices are now on 6.7.1 and so far so good, no wifi issues to note of.
However my HA is showing lots of new errors, for example this one:
2019-10-26 04:40:56 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: Garage Light 1 Button4 with state_topic: garage_lights_xx06xx/stat/RESULT
And buttons now appear in the integrations page. I am using HA auto discovery over MQTT, and I have kept all the settings the same, as in flashing new firmware does not overwrite settings.
Anyone else getting this?
francisp
(Francis)
October 26, 2019, 4:55pm
72
I don’t see any difference with before. No extra errors in the log.
Are you using Auto discovery? I have a feeling that may be the issue.
I’ll try setting SetOption19
Off and On again and see if that fixes things.
francisp
(Francis)
October 26, 2019, 5:10pm
74
All my tasmota devices are auto discovered.
Crhass
October 26, 2019, 7:58pm
75
Most of mine are on 6.7.1 now, had a couple that needed power cycling following upgrade before they would respond and 1 that needed reset 5 and then a reflash as it kept dropping WiFi every minute or so. They seem faster in the web interface and are staying connected.
How odd, it looks like it’s a known issue, others are gettings the ‘No matching payload found for entity’ error also here:
After upgrading to .63 from .58 I have warnings in the log file every time HASS gets an MQTT message seemingly complaining about no matching payload, even though the message payload matches the definitions in the binary sensor.
Log messages:
2018-02-11 14:35:33 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: sensor7 with state_topic: unosensor
2018-02-11 14:35:33 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matc…
and here:
opened 11:40AM - 19 Mar 19 UTC
closed 03:00AM - 09 Sep 19 UTC
integration: mqtt
stale
<!-- READ THIS FIRST:
- If you need additional help with this template please r… efer to https://www.home-assistant.io/help/reporting_issues/
- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases
- Frontend issues should be submitted to the home-assistant-polymer repository: https://github.com/home-assistant/home-assistant-polymer/issues
- iOS issues should be submitted to the home-assistant-iOS repository: https://github.com/home-assistant/home-assistant-iOS/issues
- Do not report issues for components if you are using custom components: files in <config-dir>/custom_components
- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests
- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!
-->
**Home Assistant release with the issue:**
0.89.2
**Last working Home Assistant release (if known):**
unsure maybe (0.89.0+);
Whichever made custom-components require all component files.
**Operating environment (Hass.io/Docker/Windows/etc.):**
Hass.io
**Component/platform:**
https://www.home-assistant.io/components/binary_sensor.mqtt/
**Description of problem:**
When using multiple Sonoff_RF components, Error log outputs multiple
"[homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: "
- Used to add Custom_component for mqtt/binary_sensor.py which would disable output.
-- Now since 8.9.0 having to add all mqtt files via Configurator IS UN-WORKABLE.
-- also monitoring release updates to all mqtt component files against custom-components IS UN-WORKABLE.
- Hass.io runs slow when issue outputs to log.
- Hass.io takes 15-35 minutes to reboot.
- MariadB is locking up due to too many of these errors recorded.
-- Snapshot takes 90 mins, as MariaDB takes ages.
-- this is eating up my SD Card's life expectancy.
-- Don't like losing my house data.
Please revert pull request (https://github.com/home-assistant/home-assistant/pull/11836)
or update code from components/mqtt/binary_sensor.py #Line: 147
To comment out LOGGER warning
Example of change:
```
@callback
def state_message_received(_topic, payload, _qos):
"""Handle a new received MQTT state message."""
value_template = self._config.get(CONF_VALUE_TEMPLATE)
if value_template is not None:
payload = value_template.async_render_with_possible_json_value(
payload, variables={'entity_id': self.entity_id})
if payload == self._config.get(CONF_PAYLOAD_ON):
self._state = True
elif payload == self._config.get(CONF_PAYLOAD_OFF):
self._state = False
else: # Payload is not for this entity
# _LOGGER.warning('No matching payload found'
# ' for entity: %s with state_topic: %s',
# self._config.get(CONF_NAME),
# self._config.get(CONF_STATE_TOPIC))
return
```
Example Error log (1 entry below, but logs this 19 times):
```
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: pir a hall with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: pir b bathroom with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: kitchen smoke with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: livingroom window r with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: kitchen window with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: bedroom window with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: livingroom window l with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: front door with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: kitchen fridge door with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: remote1 ab with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: remote1 c with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: remote1 cd with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: remote1 d with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: remote1 a with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: remote1 b with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: pir e bedroom with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: pir d livingroom with state_topic: tele/sonoff-RF/RESULT
2019-03-19 10:23:09 WARNING (MainThread) [homeassistant.components.mqtt.binary_sensor] No matching payload found for entity: pir c kitchen with state_topic: tele/sonoff-RF/RESULT
```
**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**
```
binary_sensor:
# Door
- platform: mqtt
name: 'front door'
payload_on: 'SECRET_RF_CODE_ON'
payload_off: 'SECRET_RF_CODE_OFF'
device_class: door
qos: 1
state_topic: 'tele/sonoff-RF/RESULT'
value_template: "{{ value_json.RfReceived.Data }}"
- platform: mqtt
name: kitchen fridge door
payload_on: 'SECRET_RF_CODE_ON'
payload_off: 'SECRET_RF_CODE_OFF'
device_class: door
qos: 1
state_topic: 'tele/sonoff-RF/RESULT'
value_template: "{{ value_json.RfReceived.Data }}"
# Window
- platform: mqtt
name: bedroom window
payload_on: 'SECRET_RF_CODE_ON'
payload_off: 'SECRET_RF_CODE_OFF'
device_class: window
qos: 1
state_topic: 'tele/sonoff-RF/RESULT'
value_template: "{{ value_json.RfReceived.Data }}"
- platform: mqtt
name: livingroom window l
payload_on: 'SECRET_RF_CODE_ON'
payload_off: 'SECRET_RF_CODE_OFF'
device_class: window
qos: 1
state_topic: 'tele/sonoff-RF/RESULT'
value_template: "{{ value_json.RfReceived.Data }}"
- platform: mqtt
name: livingroom window r
payload_on: 'SECRET_RF_CODE_ON'
payload_off: 'SECRET_RF_CODE_OFF'
device_class: window
qos: 1
state_topic: 'tele/sonoff-RF/RESULT'
value_template: "{{ value_json.RfReceived.Data }}"
- platform: mqtt
name: kitchen window
payload_on: 'SECRET_RF_CODE_ON'
payload_off: 'SECRET_RF_CODE_OFF'
device_class: window
qos: 1
state_topic: 'tele/sonoff-RF/RESULT'
value_template: "{{ value_json.RfReceived.Data }}"
```
**Traceback (if applicable):**
```
```
**Additional information:**
This is related to this change
https://github.com/home-assistant/home-assistant/pull/11836
plus referenced in
https://community.home-assistant.io/t/mqtt-py-log-warning-no-matching-payload-found-for-entity/42995/5
I really need this fixed, please let me know what I can do to fix this,
am I required to push a commit to fix / add configuration option to allow for Sonoff_RF or other devices acting on different codes.
So I’ll have to see why they have only started to appear in v6.7.
SteveDinn
(Steve Dinn)
October 26, 2019, 11:27pm
77
I copied the code for the MQTT binary_sensor and am using a custom component for this now just to eliminate that ridiculous error.
I flash my own bin (around 450kb in size so don’t need minimal)
1 Like
Yes I am. seems a binary_sensor is now created in the integration… you can probably disable it. I have not tried.
OK I’m disabling them here and will restart. That should fix it as the entity is disappearing
EDIT: I am not getting the errors now after disabling the binary_sensor.*_btn’s It MAY be that this function is only in HA 0.101.0 (currently running b2 of that)
ALSO note core pre-2.6 is the ONLY supported core now.
1 Like
Glad to know I’m not the only one with the errors.
I should have said earlier that I’m running HA v0.100.3, and the binary sensor buttons only appeared after flashing Tasmota v6.7, with Tasmota v6.6 there is no binary sensor button.
I don’t think this is a HA change, more a Tasmota change that is causing the binary sensor buttons to appear. I think it’s probably a HA bug that is throwing the errors however.
Thanks for the tip about disabling the entities, I’ve tried it on a few devices and so far so good, no errors from that device then HA is restarted.
Also I’ve used core pre-2.6 and so far so good, my binaries are a little larger now, but using the minimal firmware I was able to update OK.
1 Like