Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Schneider Electric forum about the C-Bus platform to get support and share knowledge including Network Automation Controller (NAC), Application Controller (AC) at selection, installation and troubleshooting sides.
Search in
Link copied. Please paste this link to share this article on your social media post.
Hello SpaceLogic Community,
I have been using my script to retrieve weather data for multiple NACs running firmware V1.18 without any issues. However, I'm working on a new project, and the script isn't functioning on the NAC2 (V1.18) Iβm using. It simply returns nil. Everything is configured the same and I'm testing on same network at the moment. Could this be due to missing files in the NAC2 libraries, and is there a way to test for this?
Link copied. Please paste this link to share this article on your social media post.
Hello @Richard_M . I have worked it out. You need something in the NAC's DNS server π. I have put 8.8.8.8 in and now it works perfectly. Thanks for your help!
Link copied. Please paste this link to share this article on your social media post.
Hi Craig. did you get this working? I just tried the script on both v1.18.0 and v2.1.0 and they both return a result.
I was going to suggest making sure that "Block unsafe functions in scripts" is disabled but I also tried with it enabled & disabled and the script worked both times.
Link copied. Please paste this link to share this article on your social media post.
Hello Richard
No, I haven't been able to get this working. It's strange
I seem to be missing "Block unsafe functions in scripts" in the NAC2
β
Link copied. Please paste this link to share this article on your social media post.
ah, what firmware are you using?
You must be on firmware 1.x.x. The "Block unsafe functions..." option was introduced in v2+
Link copied. Please paste this link to share this article on your social media post.
Hello Richard
Yer, the NAC2 is on V1.18.0. I have 3 x 5000ETP10W Ethernet touch panels on this site. So V2 firmwear is a no go!
Link copied. Please paste this link to share this article on your social media post.
Hi @Craig_DnA . Curiosity got the better of me so I tried this on a AC2 with 1.18.0 (I couldn't find a NAC2 to test) and it worked.
I noticed that if the AC2 didn't have internet access it returned a nil. Perhaps yours was having access problems?
Link copied. Please paste this link to share this article on your social media post.
Hello @Richard_M . I have worked it out. You need something in the NAC's DNS server π. I have put 8.8.8.8 in and now it works perfectly. Thanks for your help!
Link copied. Please paste this link to share this article on your social media post.
I'm glad you got it working. That's a setting we won't forget to check in the future π
Youβve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.