Just installed the latest on PI3, first add-on is samba share. It installs correctly with defaults, the Mac is on the same wifi with WINS Workgroup set to WORKGROUP, yet connecting to a server in Finder with smb://hassio.local fails. I cannot get to the configuration.yaml. Any suggestions?
I had the same issue, and resolved it, but not quite elegantly. Try these two things, if they don’t work, I can’t help ya:
- In the Samba Share configuration in Hass.io, change the “interface” option to “wlan0” (assuming you’re running your RPi on wifi
- Instead of smb://hassio.local, try cifs://hassio.local
I also disabled Guess access and defined a username/password in the Hass.io config files.
I figured out the wlan0 thing this morning before work, but didn’t have time to post. Have the Nest in, Wink is next, then Sonoff with Tasmota. Thanks for the reply.
All devices added except Sonoff 4CH Pro with Tasmota 5.6.1. I enabled the embedded MQTT by adding mqtt: to the configuration.yaml. Configuration Valid! I added the following to connect the switch:
# Embedded MQTT Broker
mqtt:
# Sonoff 4CH Pro with Tasmota 5.6.1
switch:
- platform: mqtt
name: "DVES_857B62"
state_topic: "stat/Sonoff/power1"
command_topic: "cmnd/Sonoff/power1"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
switch:
- platform: mqtt
name: "DVES_857B62"
state_topic: "stat/Sonoff/power2"
command_topic: "cmnd/Sonoff/power2"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
switch:
- platform: mqtt
name: "DVES_857B62"
state_topic: "stat/Sonoff/power3"
command_topic: "cmnd/Sonoff/power3"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
switch:
- platform: mqtt
name: "DVES_857B62"
state_topic: "stat/Sonoff/power4"
command_topic: "cmnd/Sonoff/power4"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
The Sonoff information is
Program version 5.6.1
Build Date & Time 2017-08-22T21:46:18
Core/SDK version 2_3_0/1.5.3(aec24ac9)
Uptime 8 Hours
Flash write count 171 at F9000
Boot count 30
Reset reason Power on
Friendly name 1 Sonoff
Friendly name 2 Sonoff2
Friendly name 3 Sonoff3
Friendly name 4 Sonoff4
AP1 SSId (RSSI) 58F (74%)
Hostname sonoff-7010
IP address 10.0.1.137
Gateway 10.0.1.1
Subnet mask 255.255.255.0
DNS server 10.0.1.1
MAC address 60:01:94:85:7B:62
MQTT Host 10.0.1.109
MQTT Port 1883
MQTT Client &
Fallback Topic DVES_857B62
MQTT User admin
MQTT Topic sonoff
MQTT Group Topic sonoffs
MQTT Full Topic cmnd/sonoff/
Emulation None
mDNS Discovery Enabled
mDNS Advertise Webserver
ESP Chip id 8747874
Flash Chip id 1327185
Flash size 1024kB
Program flash size 1024kB
Program size 477kB
Free program space 524kB
Free memory 24kB
from its webpage that the tasmota firmware provides:
14:44:53 MQTT: Attempting connection...
14:44:54 mDNS: Query done with 0 mqtt services found
14:45:09 MQTT: Connect FAILED to 10.0.1.109:1883, rc -4. Retry in 10 seconds
I found some HA help at https://github.com/arendst/Sonoff-Tasmota/wiki/MQTT-Features The config tests okay and gives me a states box with the DVES_857B62 name and a slider switch. I thought I was getting there, but no, the slider doesn’t switch the relay on the sonoff. Any suggestions?
Cheers!
Please update your post using a code block as stated on top of the topic, this keeps the formatting.
As for the switch, check if it’s Sonoff
or sonoff
Hi, I updated the post.
My Pi is hardwired but all I did was set up with the default config bar adding username/password and it instantly turned up under shared devices in the left finder pane.
Thanks Bobby,
Does Hass.io have a left finder pane? Your Sonoff appeared there? That would be great, but the reading I’ve done led me to believe that I have to use MQTT to connect a Sonoff with Tasmota firmware to HA. I think my next step will be to install mosquitto on the PI3 instead of the embedded HA version. Unless there are other suggestions?
moved this as it was off topic
You are right, I’ll move my follow post.
Thank you so much for the cifs://hassio.local suggestion. I can finally manage my Hass.io installation from one computer (my mac)!
Yes, cifs:// worked for me too. Thanks!