Comments on: Node-red web page – an example to get you started https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/ make it, break it, fix it, hack it, own it Sat, 05 Nov 2016 16:17:33 +0000 hourly 1 https://wordpress.org/?v=4.5.14 By: Richard https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-264 Sat, 05 Nov 2016 16:17:33 +0000 https://l0l.org.uk.archived.website/?p=275#comment-264 It will only work if you are running it on the host – otherwise change the IP address

]]>
By: Richard https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-263 Sat, 05 Nov 2016 16:15:43 +0000 https://l0l.org.uk.archived.website/?p=275#comment-263 I appreciate the fact that you maintain this very useful posting.

]]>
By: gareth https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-212 Fri, 08 Jan 2016 12:04:31 +0000 https://l0l.org.uk.archived.website/?p=275#comment-212 Sorry to say I’m no longer working with Naomi who wrote this code and page, good luck working it out!

]]>
By: Taral Shah https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-204 Sun, 06 Dec 2015 05:53:10 +0000 https://l0l.org.uk.archived.website/?p=275#comment-204 I tried to troubleshoot the code.
I get the warning in data buffer in the line context.data = context.data || new Object();
I get the warning as “the object literal notation {} is preferable”.

]]>
By: Taral Shah https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-203 Sun, 06 Dec 2015 03:16:18 +0000 https://l0l.org.uk.archived.website/?p=275#comment-203 Hii.. Nice work. When i was running this in my linux pc, it was working completely,.
but now when i am running it on my raspberry pi, It shows only the page “.. Loading…..” but never redirect to next page. I am using the Raspbian jessy November image (Prebuilt with nodered). I just implemented your last code only, didnt made any changes even, still not working, on recently flashed pi.

]]>
By: gareth https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-153 Tue, 12 May 2015 21:23:36 +0000 https://l0l.org.uk.archived.website/?p=275#comment-153 Thanks for the prompt Wayne – I’ve updated the page to show how we now use Freeboard to act as a dashboard.

]]>
By: Wayne Hancock https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-152 Tue, 12 May 2015 13:07:41 +0000 https://l0l.org.uk.archived.website/?p=275#comment-152 So, it’s been awhile and you’ve never come back and updated/addressed a better way to do this. Is this something you still plan on doing?

]]>
By: naomi https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-63 Fri, 21 Nov 2014 21:05:43 +0000 https://l0l.org.uk.archived.website/?p=275#comment-63 Hi Frey Patrick,
You found a bug – sorry and thanks for pointing it out! It’s fixed now, please try again.
I did notice though that you said /data wasn’t working. The bug only affected /web, so it’s likely you have other issues with your setup (or ours!).
Do get in touch again if you want any more help.
Happy hacking!
Naomi

]]>
By: frey patrick https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-62 Thu, 20 Nov 2014 15:00:24 +0000 https://l0l.org.uk.archived.website/?p=275#comment-62 hello
I copied the flow in my node red . But the page \web displays “loading” and the page \data cannot connect to server . What is wrong ?

]]>
By: naomi https://l0l.org.uk.archived.website/2014/01/simple-node-red-web-page/#comment-32 Fri, 16 May 2014 14:58:50 +0000 https://l0l.org.uk.archived.website/?p=275#comment-32 Hi Jerry,

I think the code is all posted – what do you think is missing?

Sorry you couldn’t get it to work, but to be honest this is not the best way to do it anyway, as I have tried to make clear with the banner at the top of the post!

You are probably best off looking for a better way to do it – the internet of things is moving pretty darn fast, and I reckon someone else will have this covered, and much better, by now.

Best of luck!

]]>