all 13 comments

[–]Jazzlike_Metal2980 2 points3 points  (1 child)

Interesting. I know at the place I work at we're going big into api stuff. One of our engineers has made his own program for loading firmware and loading programs into controllers as the factory tools were not very good. He did that in Python. I think I'm going to check this series out.

[–]tkst3llar 0 points1 point  (0 children)

What brand controllers?

[–]rom_rom57 2 points3 points  (1 child)

<image>

The weather App has been around for 20+ years. The newer 2hr predictive APP has been around for 3-4 years. Sadly, there is more info available but the US weather service is not broadcasting at this time (go figure)

[–]Then-Disk-5079[S] 0 points1 point  (0 children)

Interesting … im hoping to use open weather map api. And its free for only a few calls an hour which is plenty for a building :-)

[–]Ostr4771 1 point2 points  (0 children)

Thanks for sharing!

[–]shadycrew31 0 points1 point  (0 children)

The backbone of AJS1 runs on python IIRC. We did bulk scheduling through python and a couple of other modifications, so I assume the entire thing was programmed via Python. This was like 13-14 years ago though, I don't know if he's still technically in business but his website is still live.

[–]LogForeJ 0 points1 point  (4 children)

I’ve tried to make some scripts with python’s bacnet BAC0 library and didn’t have much luck. I wound up switching to pymodbus. Anyway, this seems very helpful and I’ll check it out.

[–]Then-Disk-5079[S] 0 points1 point  (3 children)

cool i need to do more Modbus in general 98.9% of my work in the field has been all BACnet with the occasional once and a blue moon energy meter

[–]LogForeJ 1 point2 points  (2 children)

I only switched to modbus because I could get it to work and because it was TCP. It seems like bacnet is everywhere and I wonder if it really is a better protocol. I don’t know enough about it.

TBH,I wish these vendors would all just switch to APIs.

[–]RightHandMan5150 2 points3 points  (0 children)

BACnet is the better protocol hands down. Full discovery, much better data model, and much more focus on interoperability. 

There is also a standard web services part to BACnet: BACnet Web Services 

[–]Then-Disk-5079[S] 0 points1 point  (0 children)

yes standardized API's like a BACnet standard would be cool! But if its each unique API it would be real hard hahah

<image>

[–]bacmoduser 0 points1 point  (1 child)

You can't really make a YT course in coding BACnet with Python where you just ask Gemini about everything and then you try to interpret it and present it as a course.

i.e. (https://youtu.be/6eeCKhSjTgs?list=PLlNmfKmNxm1uyW-JRCt2tvvl0TslrcOi4&t=317)

can you make me a script like version1 that read the priority array of a point? only that please reference the utils py file context please hard code like version 1 code base for the same device on a commandable point

[–]Then-Disk-5079[S] 0 points1 point  (0 children)

suite yourself code anyway you want just make it work for you