In the process of updating node.js. I really don’t want to update my OS if I don’t have to. I have a pretty extensive project running on the RPI and would hate to have to rebuild that.
Thanks for your help. Its nice to have someone point out the things you’ve missed.
I am happy to report I’ve completed my conversion and everything appears to be working as expected. I have implemented the LCD node and it is functioning for me.
To summarize my issue, the problem appears to have been an outdated version of Node.js.
Good to hear Larry.
It’s always nice to hear of another convert to the dark side
One of the things I’m doing with my migration to Blynk 2.0 with the new version of the Blynk contrib is to use a single device.
Previously, I’d started by going down the route if one Blynk device per physical device. However, this quickly became quite messy, so I switched to one device per room, but that wasn’t ideal.
Because of the way that the Blynk 2.0 app forces the use of tiles, and I only want to use one tile for my UK home and one for my holiday home, I’ve used one device per home.
This allows me to use the 256 virtual pins to display data in the one tile, ln multiple tabs.
This isn’t done to save devices (I have free access to the PRO plan, so that’s not an issue) but simply want everything in one place to allow me to to use a single tile.
Just did some more testing, and it seems I was injecting data in the wrong format when I did my testing. I’ve updated the issues log to reflect the fact that it works as expected.
I agree with you about the device/tiles. My project is very simple. It would be nice to go straight to my screen with the tabs instead of the tile first. The price of progress ;-).
Good to hear the LCD is working for you now. Again, my project is very simple and the conversion, while time consuming, was pretty straight forward. In most cases, I simply replaced the write event and write nodes from the old ws lib with their counterparts in the iot lib. It took me days to get to the Node.js solution. I went down too many wrong rabbit holes.
So, I’ve found something that acts differently between the old websockets lib and the IOT lib. I’m using the terminal on my IOS device app. Neither lib had a terminal node but I found if I send strings to the terminal virtual pin, the terminal acted as expected in the old lib but not in the new lib.
The IOS device must be unlocked and open to the Blynk app for the terminal to display anything sent to it with the new lib.
Do you have any experience with the terminal widget?
Agreed. Move to a new topic? Should we ask Gab to look into adding a terminal node? I am, after all, essentially using virtualwrite rather than terminal.write. But that seemed to work just fine under blynk 0.1.
I’m not running Blynk code anywhere, only using node-red.
@VIGHNESHNS2008 have you tested writing to the terminal when the device is locked, and killing the app then re-opening and checking that the data you wrote previously is still displayed in the terminal?
Appears that Android users also experiencing this issue as well. Before opening a new issue, I checked to see if anyone else saw the problem. Appears someone did. Issue #120.
doom369 is working on it. I’ll stop beating my against the wall now…