My first attempt with meteor;
I have a device in my network which returns json response when i hit its ip (192.168.1.11) on a web page.
Can meteor get new values and show in client side when there is a change in json response?
If yes please show an example.
james
2
Very easily!
- Make a mongo collection
- On the server do an interval where it
HTTP.get()
's the response every few seconds or whatever
- Put response in the collection
Client will get the new collection contents automatically because the “database is everywhere”
1 Like