News RSS on Dashboard

I have been having trouble getting the news rss feed on my dashboard. The documentation is not to clear on the widget type configuration and I was hoping someone could help point out what I am doing wrong here.

Thanks its advance!

dashboard -

news:
    widget_type: rss
    entity: news
    title: Top News Headlines
    interval: 10

appdaemon -

AppDaemon:
  logfile: STDOUT
  errorfile: STDERR
  threads: 10

  rss_feeds:
    - feed: http://rss.cnn.com/rss/cnn_topstories.rss
      target: news

  rss_update: 300

That looks correct to me - what is going wrong, are there any log messages or JavaScript errors?

thanks for the response. Sorry for not including that info in the first post, Ive been using HA for about 3 months now and just started messing with dashboard the past couple days. I get no mention of the entity on the dashboard ssh session but not sure where I can find a better log? It just shows the dashboard connect but without any errors, on the dashboard it self I get entity not found.

2017-08-20 09:42:45.147058 INFO New dashboard connected: HADashboard
2017-08-20 09:45:10.119819 INFO Dashboard disconnected

I replaced weather with news in the pictures.

What version of AppDaemon are you using?

appdaemon 2.1.6

I tried your exact config and it works for me - let me take a look at the code and see if I can come up with a reason.

I really appreciate it. I will let you know if i find something also. Im able to use live radar maps no problem with the camera widget…

The only thing I can think of is the machine running appdaemon is havving trouble getting the feed. Can you try running:

$ wget http://rss.cnn.com/rss/cnn_topstories.rss

and let me know what happens?

Looks like I only get a response if I use sudo…

pi@ha_dash:/home/homeassistant/conf/dashboards $ wget http://rss.cnn.com/rss/cnn_topstories.rss
--2017-08-20 10:53:36--  http://rss.cnn.com/rss/cnn_topstories.rss
Resolving rss.cnn.com (rss.cnn.com)... 216.58.192.179, 2607:f8b0:4009:80d::2013
Connecting to rss.cnn.com (rss.cnn.com)|216.58.192.179|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
cnn_topstories.rss: Permission denied

Cannot write to ‘cnn_topstories.rss’ (Permission denied).
pi@ha_dash:/home/homeassistant/conf/dashboards $ 
pi@ha_dash:/home/homeassistant/conf/dashboards $ 
pi@ha_dash:/home/homeassistant/conf/dashboards $ 
pi@ha_dash:/home/homeassistant/conf/dashboards $ 
pi@ha_dash:/home/homeassistant/conf/dashboards $ 
pi@ha_dash:/home/homeassistant/conf/dashboards $ sudo wget http://rss.cnn.com/rss/cnn_topstories.rss
--2017-08-20 10:53:50--  http://rss.cnn.com/rss/cnn_topstories.rss
Resolving rss.cnn.com (rss.cnn.com)... 216.58.192.179, 2607:f8b0:4009:80d::2013
Connecting to rss.cnn.com (rss.cnn.com)|216.58.192.179|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: ‘cnn_topstories.rss’

cnn_topstories.rss                 [ <=>                                                  ] 246.25K  --.-KB/s   in 0.06s

What user are you running the dash as?

pi

should I be using a different user?

Doesn;t matter which user you use, as long as that user has access rights to the AD configuration directory

I haven’t gone out of my way to lock anything down…if I do a chmod 755 for everything below conf/ would that solve the problem you think?

755 for directories and 644 for files would be best

Your a good man. Appreciate you taking time out of your weekend to help, I am now able to get the feed!

Excellent!

Woud you happen to know if it is possible to change the color of text and buttons? And make certain text bold? I can change the background easily with widget style but was trying to change the color of some of the text and make it a little heavier…easier to read. Some buttons light up a color i would prefer not to use as well. Maybe asking a lot here since I haven’t found much…

I really like this look but want to make the text thicker and maybe blue.

There are different styles for all the text, e.g. title and title2. You can do it at the widget level, or build your own skin

Thanks for the response. Forgive me as I am no developer at all, Ive been in IT about 13 years, mainly in storage but I am very much enjoying myself:)

I was digging through this GitHub - https://github.com/home-assistant/appdaemon/tree/dev/appdaemon/widgets

I noticed a lot more variables I could change. At the bottom of some widgets I see

 switch_title_style: $style_title
 switch_title2_style: $style_title2 

I am noticing I can learn a lot just clicking through these files…but is there somewhere that lists valid options to change text styles and colors?

I also have been having issues with a switch or a boolean not changing states within ha. So if I turn it on by a iPad dashboard then the state does not change within HA to activate the automation. I have been reading about an HAPush that sounds like it keeps the current state correct on both HA and dashboard regardless of where the state was changed which is great cause i also use emulated hue. It may be needed to change the state within ha regardless? Most the posts around hapush are back 6+ months ago…which doesn’t seem like long but the way this is being developed I’m curious if it is still needed? :slight_smile:

If there is somewhere you might be able to point me with a little documentation on either item or some key terms to google i would appreciate that as well. I don’t know if I am using the wrong words but I do not get much in return when searching google or communities. Im ready to hang a few up here shortly I love the progress. I just about have everything working 100% very pleased thank you thank you.