Need help with tasker

Hello.

The default dashboard doesnt work very well on my tablets. its just a bit slower then I prefer and its probably because this quadcore tablet has like 1gb of ram.

I understand the JSON and http post side of things ok but I cannot figure out how I can either make a slider to use as a dimmer in a scene (or widget). Maybe it just isnt possible.

The other thing I am trying to do is have a volume control section either in an app or as a widget to control and see the current volume of my chromecast devices.

The dimmer/slider is my more pressing issue honestly. any suggestions.

So you’ve already got on/off working in Tasker? Then you have a plugin that’ll handle post data and you have the correct formatting for API URLs, right?

When you’re setting a light to a brightness, use light.turn_on and supply the brightness in the JSON in your post’s body.

{“entity_id”:“light.ge_45602_lamp_dimmer_module_level_2_0”,“brightness”:“255”}

You may need to do some math in Tasker so that the slider sends values from 0-255 (the valid brightness settings).

I get all of what you are saying but this is the part that I need help with :frowning: I just dont know where im suppose to do this math at… I cant find a section on the slider that allows me to add a value for a certain section of the slider.

homework.

did you look into HADashboard instead?

These are android tablets so I dont think that is going to be a solution. They are so cheap that i dont mind buying a few. each one cost me 30 dollars. Only issue is that webview doesnt run as fluid as I wish it would

Now I understand why you just pointed me in a general direction. Tasker has a pretty large learning curve when trying to do some advanced tasks. Im started to understand and learn a little basic programming in the meantime.

This eventually lead me to AutoSqueeze, KLWP, and a few other pulgins to make a dashboard which seems like a never ending project lol.

One thing im having trouble with deals with me essentially not knowing what JSON values I need

# send sensor data

- alias: sensor data
  trigger:
platform: time
minutes: '/35'
seconds: 00
  action:
- service: script.turn_on
  entity_id: script.thermostat

Right now every 35 minutes this script is turned on and I have data sent to my tablet dashboard through JOIN. What i want is something like this

# send sensor data test

- alias: sensor data test
  trigger:
    platform: numeric_state
    entity_id: sensor.broadlink_sensor_temperature
    value_template: "{{ states.sensor.broadlink_sensor_temperature.state }}"
    above: 59.9
  action:
    - service: script.turn_on
      entity_id: script.thermostat

I feel like this is correct but everytime the sensor changes states nothing happens. Am I missing something?

Yeah - Tasker can be daunting.

With your template question: You may need to parse that template as a float:
value_template: “{{ states.sensor.broadlink_sensor_temperature.state | float }}”

But I never have good luck with template triggers. What I usually do is create a template sensor with the same template, then use its state as the trigger for my automation.