This doesn't even work:
<div ng-repeat="n in [42, 42, 43, 43] track by $index">
{{n}}
</div>
neech
@neech
Best posts made by neech
Latest posts made by neech
-
RE: TEMPLATE NODES
-
TEMPLATE NODES
Hello, I am trying to create my first template. I have a data set that I am trying to display on a web page. The data is coming through on msg.data. I've tried using ng-repeat and scripting to get this into my template but it doesn't display anything.
here's the snippet of my template:
<div layout="row" layout-align="start center" ng-repeat="obj in {{data}} track by $index">
<span>{{obj.value}}</span>
</div>I am seeing the object array when I am looking at the elements, however, ng-repeat doesn't seem to be working. Is there something that I am missing here?
I've also tried this:
<div layout="row" layout-align="start center" ng-repeat="obj in msg.data track by $index">
<span>{{obj.value}}</span>
</div>My data object is simple, array of objects like this:
object:{
date: "2312345123",
value: "23.12",
}I need help...I've got problems.
-
RE: MyNodes.NET moving to node.js.
Congratulations derwish! Singlehub has been long awaited. I will try and test this on a Ubuntu server tonight.
Thank you,
neech -
RE: MyNodes.NET moving to node.js.
@derwish ,
This is the only instructions I have found for installing .net on linux:
https://www.microsoft.com/net/core#debianDo you think this will work?
Thanks,
neech -
RE: MyNodes.NET moving to node.js.
derwish,
Your controller looks awesome.
I'd like to start implementing this on my raspberry pi (either pi 1 model B or pi 3). I ran into dependency issues when installing mono on my pi 1 model B. The link to the .net install instructions is different then in your video so I followed the instructions on your video with out success.
Do I just need to wait for the node.js version to come out? Would that version still require .NET? I would assume not because node.js is based on javascript. Do you have any node.js development versions that I could try?
Looking forward to getting this installed.
Thanks,
neech -
RE: Why continue to use NRF24L01?
It is true that the NRF24L01 use a lot less power (apparently). I haven't used them so I would be concerned about the range of these types of devices? How many gateways would I have to build to cover my whole home?
On the Ethernet side, I am looking to do smart outlets: for that the ESP8266 makes sense because I could use the 120VAC power and convert it to 5VDC with a pretty small board using one of those transformer-less DC power supplies.
Maybe I'll test both scenarios before scaling up.
Thanks,
neech -
RE: Why continue to use NRF24L01?
You could still do that with a separate WiFi router, right? I am starting to think about a new system that will have a dedicated router for my "things".
-
RE: I know what I want but I don't know the hardware to get there.
You're probably right on the adafruit thing, and the use of "their"...I am usually good about that. The question is, I want a computer acting as a controller and a WiFi gateway, a board with a sensor and an ESP8266 on it talking directly to the gateway. Is it possible and has it been done?
-
RE: I know what I want but I don't know the hardware to get there.
Well when you say it like that it sounds so obvious. However, the ESP8266 comes essentially comes with a boot loader and that's it. Are their sketches already completed to talk to a gateway with one of these?