@sdetweil You’re right; I missed that one.
Thank you - that did the trick and both versions of the module now work as expected.
@sdetweil You’re right; I missed that one.
Thank you - that did the trick and both versions of the module now work as expected.
@sdetweil Thanks for your response. When you say both *.js files, which ones exactly do you mean? There is only one *.js file in the folder with ‘MMM-HTMLSnippet’ in it.
Hi all,
I’m running two instances of MMM-HTMLSnippet on my mirror with the objective of showing two different twitter feeds (CNN & Axios). I’ve copied the initial module in the modules folder, renamed it to ‘MMM-HTMLSnippet2’ and changed the *.js file to ‘MMM-HTMLSnippet2.js’. I’ve also updated the first line in *.js file to MMM-HTMLSnippet2. Finally, I’ve updated my config as outlined below.
However, both modules are showing the CNN twitter feed on my mirror.
What did I miss?!
Thanks!
{
module: "MMM-HTMLSnippet",
position: "bottom_right",
config: {
html:`<a class="twitter-timeline" data-height="500" data-dnt="true" href="https://twitter.com/cnnbrk?ref_src=twsrc%5Etfw">Tweets by cnnbrk</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>`, //insert your script or html codes here.
width: "400px",
height: "500px",
backgroundColor: "#FFF",
updateInterval: 3600000,
},
},
{
module: "MMM-HTMLSnippet2",
position: "bottom_left",
config: {
html:`<a class="twitter-timeline" data-height="500" data-dnt="true" href="https://twitter.com/axios?ref_src=twsrc%5Etfw">Tweets by axios</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>`, //insert your script or html codes here.
width: "400px",
height: "500px",
backgroundColor: "#FFF",
updateInterval: 3600000,
},
},```
@vinp Thanks… It worked after a reboot of the Pi. Much appreciated.
@chassain-0 said in Twitter feed:
code: `<a href="https://twitter.com/villedhyeres?ref_src=twsrc%5Etfw">Tweets by villedhyeres</a> `, // https://publish.twitter.com/
Hi - did you have any other dependencies configured prior to adding this to your config? I just tried this (after installing the MMM-Widget2 app), but nothing is being displayed on the screen. My objective is to display the CNN breaking news feed from twitter.
@vinp Ok, thanks. Would you mind sharing your config? I copied the code from the instructions, but it’s stuck at ‘Loading…’.
@vinp I realize this is an old thread. Fair to assume the module is no longer working?
Thanks
Thanks.
Does anyone have suggestions on the next best alternative? I feel like weather underground was relatively accurate, unlike some of the other options out there.
@kasperb said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
@cr4z33 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
@kasperb I actually added some code parts in the voice command module as per suggestion of its developer.
If you’re using MMM-AssistantMk2 then I can tell you what to do (not if using other modules). :)
Yes, I’m using MMM-AssistantMk2. Would love to hear your suggestion.
@Cr4z33 Thank you - this works perfect. Much appreciated.
@cr4z33 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
@kasperb I actually added some code parts in the voice command module as per suggestion of its developer.
If you’re using MMM-AssistantMk2 then I can tell you what to do (not if using other modules). :)
Yes, I’m using MMM-AssistantMk2. Would love to hear your suggestion.
@bhepler Thanks - I did not. The mirror was working fine, and no notifications were visible on the screen. I’ll investigate further whether these sounds could be generated by Raspbian OS.
Hi All - I recently enabled audio on my mirror in order to get the MMM-Hotword and MMM-AssistantMk2 to work. However, I now hear random (notification, alert?) sounds at times. I can’t pinpoint what is causing this, or which module is sending the alert. Is anyone familiar with this system behaviour? I won’t be able to mute the mirror unfortunately, as that will result in the Assistant module not working.
@cr4z33 That’s a good point. Should the stream come back up after a few minutes? Right now, I have to refresh the browser (using mmm-remotecontrol) in order for the feed to restart.
@costascontis Interesting… I have the same issue with the RTSP feed cutting out as soon as I activate the Google Assistant (MMM-AssistantMk2). Not sure whether it’s triggered by the mic, my guess is that it’s related to the screen output part of the MMM-AssistantMk2 module.
@mirko3000 Thanks! And agreed, I’ve opted for the regular temperature sensor instead.
@mirko3000 This looks like a great module, and can’t wait to try it! Just ordered the gateway, and will be ordering some temperature sensors soon.
Will the Smart Air Pressure Temperature Humidity Environment Sensor work with this module as well? Like this one on: Aliexpress
Thanks!
@Johans I had a similar issue, and was able to resolve it by re-installing the module.
I just realized that I also added the cam’s ip to the IP whitelist and moved this module to the top of the config; not sure if that did anything, but mine is working now, so it might be worth a shot.
@shbatm I did a fresh install of the module, and am pleased to inform you that it’s working fine now. Thanks for your help!