Soma blind control via MQTT

I’m happy with our Soma Twists, except for the fact that “closed” in HA is down. I really want them to close up. It looks like this method does the same. Is there a way to modify this to close up?

1 Like

Hi there

I own a set of smart shades2 and the connect.

Things have just ‘worked’ for a year or more but suddenly, Im getting 'cannot call service - time out ’ errors on the SOMA integration in HA.

Does anyone have a fix for this? Im trying to get MQTT implemented via soma ctl but no success so far

Thanks

For that sensor you created to read the battery of the Tilt 2, are you using the IP and MAC for the SOMA Connect or the Tilt 2 itself? If it’s the Tilt 2, is there anyway to get the IP and MAC of it in the SOMA app?

Edit: Figured it out for anyone that wants to set it up:

  1. Go to http://your_soma_connect_IP:3000/list_devices
  2. You’ll see a readout of each device along with their MAC address
  3. Add this to your configuration.yaml. Replace xx:xx:xx:xx:xx:xx with the MAC address of the Tilt 2 you want the battery % for.
sensor:
  - platform: rest
    name: Enter entity name here
    resource: "http://your_soma_connect_IP:3000/get_battery_level/xx:xx:xx:xx:xx:xx"
    value_template: '{{value_json.battery_percentage}}'
    unit_of_measurement: "%"
    scan_interval: 300
  1. Restart HA and you should have a new entity with the battery % of that device

Any plans to publish (or point me towards) sample automations/code for getting the Tilt 2 to open up/down a certain %, close, open full, etc. from Home Assistant?