In a smart city, sensors are essential elements—the source of up-to-date traffic information. This article deals with magnetic sensors connected to wireless sensor networks (WSNs). They have a low investment cost, a long lifetime, and easy installation. However, it is still necessary to disturb the road surface locally during their installation. All road lanes to and from the city center of Žilina have sensors that send data at five-minute intervals. They send up-to-date information about the traffic flow’s intensity, speed, and composition. The LoRa network ensures the data transmission, but in the event of failure, the 4G/LTE modem realizes the backup transmission. The disadvantage of this application of sensors is their accuracy. The research task was to compare the outputs from the WSN with a traffic survey. The appropriate method for the traffic survey on the selected road profile is a video recording and speed measurement using the Sierzega radar. The results show distorted values, mainly for short intervals. The most accurate output from magnetic sensors is the number of vehicles. On the other hand, traffic flow composition and speed measurement are relatively inaccurate because it is not easy to identify vehicles based on dynamic length. Another problem with sensors is frequent communication outages, which cause an accumulation of values after the outage ends. The secondary objective of the paper is to describe the traffic sensor network and its publicly accessible database. In the end, there are several proposals for data usage.