webCoRE for Hubitat Updates

Feature Request: Email

Now I know there is an email fuction already built in, but it would be nice if we could add our own email info to use instead of webcores email (I want to use my gmail account to send the notifications, and this way reduce the email webcore has to send. and is a preferred method for me. Maybe if it not entered it uses the webcore email, but if configured it uses the configured on instead.

Issue: Warnings appearing since updating to latest version today.

I have updated and now see these warnings, yet pistons work fine.

I have variables that I pre populate in data in the define, is this now an issue? if not can we get an option to hide these warnings?

I'll have to speak with Ian on way to control this.

That warning is real. We do see folks initializing a variable, then changing it, not realizing that if the piston restarts from the top (a new event; not wait/sleep and wake up), it will lose the setting they made. It does depend if the piston have multiple events that can start it executing.

So see:

1 Like

There is a sendmail device you can add that can use your own email service

2 Likes

Have a weird issue...I have the fireplace automatically turn off after 20 mins...it didn't work last nite so I changed the delay to 1 ,min and it worked. I changed it back to 20 mins and it did not work.
The log says that it did the speak and turn off of fireplace but in reality neither of those happened
In the logs is


Is that ok or is there an issue with those logs?

If I look in the device events, it says it issued the off as the last command

However the current state is ON

It seems like webcore did the right thing per log

I can go to device and turn on and off the fireplace with no problem

Any ideas how to trouble shoot?

Have you tried to set: Disable command optimization under settings?

I looked around and do not see where to do that... could you provide details?
thx

Piston Settings > Command Optimization.

under webcore settings I dont see a place for piston settings ...but see the following

I dont see where piston settings is
under webcore settings i see

is that what you are talking about

No, edit the piston and then you'll see the piston settings up top, double click it.

See this link also, more visual.

In the body of the piston (you have to be in 'edit' mode) click on its title text and you'll see a Piston Setting box appear with a gear icon on the lower right. Click on the gear, then the command optimization setting (and a bunch of others) will appear.

Thanks ...sorry for being so dense...
I did the change and it appeared to work.... will try a few more times : )

Can you show us the piston?

working it out with nh.schottfam, ill remove the post.

1 Like

I have looked for a while now, but I didn't find anything, so here it goes: is there a way to set tile icons and background images in the Hubitat Dashboard from webcore?

Webcore and the dashboard are both seperate apps. They do not talk to each other in that way.

Ideally, I would like to set a custom icon and the background color for a tile dynamically from webcore.

So far, I've created a very simple custom device that I can address from webcore. This allows me to display a tile on the dashboard and update the text from webcore - for example for my washing machine

  • loading
  • running
  • clean

What I would like to do would be to also display a custom icon for each state, and to also change the background color for each state (let's say e.g. green, yellow, red).

I guess the question at this point is: would I add tile background color and icon as additional custom attributes to my custom device and then write them from webcore? And if that's the way to go: how would I read those attributes from the dashboard side of things and display them?

If that's not the way to go: is there another way to manipulate resources used and displayed by the dashboard from webcore - and if yes, then: how so?

(I've installed and played around with the Conditional Image Server option, but it didn't seem like the right approach, so I thought I would ask here before going down that rabbit hole.)

I'll tentatively dip my toe into this correctly labelled rabbit-hole... Without any concrete answers (I don't think)... I'll also admit most of my thoughts centre around local dashboard access, there may be limitations with cloud access. I'll also warn that none of these options are simple or fully fledged or already working, just thought-bubbles at this stage. If you want a pre-canned solution, I am not aware of one, but that doesn't mean one does not exist.

If I pick out the key parts (for me), it would be conditionally changing the display of a tile based on an attribute value.

If you want to take the approach of managing this within the individual dashboard, I expect it should be possible (without investigation or testing) via the layout JSON and Custom CSS for the dashboard, along with the custom device driver you have written. But this solution, if it works, will only be a per-dashboard solution, requiring the same tweaks to any dashboard requiring the same output.

A possible alternative may be my Status Avatar with some adjustments to suit you use case and with some changes to the requirements for background changes. If I was to entertain this option, I would opt for either using the dots around a single image, or adding a coloured ring around the image like you see in the Community against the most recent poster, adjusting the colour as needed.

Like I said, no immediate or simple answers from me.... But still possible based on my assessment.... And perhaps something I may introduce in my Status Avatar, just timing may lag for a while..... a long while....

FYI - it may be splitting this out from a webcore-specific topic... Just my 2c

1 Like

Have you considered creating a attribute within your device that generates html coding. Instead of dynamically changing the tile background, set your dashboard tile the the html attribute and just change the data (from webcore) that gets loaded into that attribute.

For example, I have dashboard tiles for several TVs that display status, application icons, etc. The data is gathered from multiple devices (i.e. Roku and Smart TV) using webcore, parsed and sent back to the custom device.

3 Likes